[quote=“phillip.koebbe”]This probably isn’t a much better solution, but it is a possibility:
You could use sublime.active_window().folders() and look for *.sublime-project. In many cases, there will be only one folder as folders() appears to return only the root. I’m sure there are many people who will have additional folders added to the project, but I can’t imagine there would be so many that it would be noticeable looking for a single file. If you happen to find more than one project file (which would surprise me), you could pop up something and ask the user which one is correct. Gets a little clunky in that case, but again, I seriously doubt you will encounter too many cases where there are multiple project files. Seems like ST2 would have a problem with that anyway.[/quote]
I will consider it. There are a number of things I am trying to figure out. Do I present both global favorites and project favorites, or do I require the user to switch between them (like a toggle setting). I prefer to not have to ask each time for project favorites or global because that would probably get old. I also need an elegant way to switch between windows and switch project preferences or switch to global if there aren’t any. I will figure something out. After I get projects working I think I will submit it to Package Control.
The good news is, the generally functionality feels pretty good now. I just want to get the project part in without making it feel clunky.