First, thanks for the minimap quick fix, Jon. (I still like to see bookmarks and max zoom level ) Now, some thoughts I have on projects:
Typically I’m actively working on a bunch of different things at a time. A couple of plain html/css websites, some php stuff, some rails stuff, some sublime-* files, then just some random files. Then there are some old projects I touch once in a while. For each of these projects, I like to have a certain set of files opened.
Right now, in sublime, I have a bunch of files opened from different projects and they all commingle rather messily. I guess if I have multi monitors and/or large screen, I can split them out and organize them better. Or just have fewer files opened and close them when not needed right at the moment. (Naaahh, not gonna happen!)
But what I’d like is to have different workspaces (analogous to having different desktops on Linux rather than everything being on one desktop in Windows). Open a bunch of different files, save the workspace. Now if I close the workspace, all those files close with it. I can switch between workspaces and only the corresponding files in it will be visible at a time. For minimal impact to the GUI, I think you can add a workspace switcher next to the syntax and encoding switcher at the right hand side of the status. For people who don’t want to bother, there’s a default workspace that works just the way it is now. Workspaces other than the default can be saved automatically or manually.
Then if I want to, I can associate a project with a workspace. So when I open a project, the associated workspace opens automatically and I have all the files I’m working in that project opened. Likewise when I close the project. (Right now, opening a project doesn’t do anything AFAICT except to switch an internal variable. I don’t really know what the current project is until I OpenFilesInProject.) Maybe when I create a project, sublime can ask if I want to create a workspace by the same name and associate it with it, or associate an existing workspace with it.
If that sounds too messy, you can just merge the concepts of projects and workspaces and let each project have its own workspace automatically. Sacrifice some flexibility for simplicity.
I think much of this can be done lazily via a plug in by just copying the auto save session to .sublime-session. I just don’t know how to make sublime load a specific sublime-session file on the fly.
-
Small API doc error: splitByLines should be splitByNewlines
-
Can you add a separate font.face for the quick panel’s input box instead of using the editor’s font. I use a pretty big editor font and it gets cut off in the quick panel. I’d rather not shrink the editor font for the sake of the quick panel.
http://img197.imageshack.us/img197/6051/inputbox.th.jpg
(I’m searching for query, not auerv)
showSelectPanel
-
If I open the showSelectPanel, why isn’t the first item highlighted automatically, since pressing Enter will select the first item anyway? Instead, the selection bar shows only when I hit down arrow. Showing the selection bar right away will a) give a visual indication of what will be selected if you hit Enter, and b) save an extra keystroke.
-
It’ll be nice if I can select multiple items in showSelectPanel with Ctrl+click. I know control+enter will open every item, but rarely do I want to do that. If you just keep the panel open when user ctrl+click and trigger the command or callback as many times as needed, that will be great.
-
pls add Home and End navigation to the select panel
I stumbled across openBrowseableProject, which isn’t documented anywhere. It’s nice but I’d like to have keybd navigation. Also, is there a way to toggle the entire panel on/off? It seems I can only close each tab individually; the panel closes by itself when there are no more tabs. When I reopen, I have to expand the folders again, which is annoying.
thanks for your time.