Sorry if I have missed a similar thread, but I have been looking without luck. I’m trying to get the path of the currently selected project in Atom. As far as I know, the current API to get the paths is:
Which works fine and returns an array with all of them. My problem is that I cannot tell which one is currently selected. As you know, you don’t need to necessarily have a file selected, so I cannot infer the current project from the selected file. Am I missing something?. Maybe this is the wrong approach, and we don’t even have an active project when no file is selected.
Any way to get this?.