Sublime Forum

Make a project of projects?

#1

I have 10-ish projects for work and I’d like some way to have them always handy. In BBEdit I made a project that contains my project files (double click one to open the desired project). I’d like to do something similar in ST 2. I tried the obvious thing: make a new project containing my directory of projects. That shows the projects, but when I click on one it just shows me the contents of the project file. I can’t figure out open them as as project windows from within ST 2.I tried right-click Open With Finder (perhaps a feature of the SideBarEnhancements package) but that opens the enclosing folder (which appears to be a bug, since double-clicking the file in Finder does open it as a project window).

It’d be fine to have some other way to keep track. I do know about the Project>Recent Projects menu and it may do, but I’d rather be able to manually maintain the list. (Also, I can’t figure out how to access Recent Projects by typing: cmd-shift-P Project or Recent does not show it).

Perhaps I should write a script that triggers Open Project on my folder of projects.

Any suggestions would be most welcome.

0 Likes

#2

If you’re using SidebarEnhancements (sounds like you are) trying adding Sublime Text 2 to the open with menu… then you could “Open with Sublime Text 2”, which would hopefully cause ST2 to open the file as if you’d double-clicked in the finder rather than as if you’d single-clicked in the sidebar.

As an aside, does Cmd+Ctrl+P not do what you’re looking for?

0 Likes

#3

Thank you for your reply.

Adding Sublime Text 2 to the sidebar Open With does work as you suggested. (However, it seems to be faster to just select Recent Projects or Open Project…).

Cmd-Ctrl-P is close, but unfortunately it closes my current project.

Is there documentation that maps between keymap item names and menu items and/or “things you can type after cmd-shift-P”? I would not have guessed that command “prompt_select_project” is the same as menu item Switch Project in Window… If I could figure out the keymap name for the Open Project… or Recent Projects menu item then I could assign a keystroke to that.

(The first thing I tried was using cmd-shift-P to open a project, but when I type “proj” I only see 4 choices, none relevant: Project:Close, Project:Edit, Project:Add Folder and Project:Save As.)

0 Likes