sandover wrote:1. Instant "project-lite": just run 'mate .' in some directory and work with that directory's files in a new window. This is what people want at least 75% of the time. No project file at all. Note that it's easy to open as many of these windows as you want.
2. Next step: the ability to turn that view into a project file, by doing "save project as", under the File menu. This is where the power users get started. Once a project exists, it's easy to get back to, because "open" a folder, "open" a file, or "open" a project file in TextMate are all mapped to the same "open" in the file menu. Any number of projects can be open at a time. Simple.
3. Ability to set up a file & folder pattern for a project, to do filtering. Power users are now fairly happy.
For #1, please see http://www.sublimetext.com/docs/2/osx_command_line.html
if you are on OS X. Linux users get this via the sublime_text command if their Sublime Text 2 folder is in their path.
Using the current (or recent) builds, here's something to try:
1. Close ST2 -- with project X open
2. cd into folder A and do "sublime_text ."
3. Result: ST2 opens project X, including any files that were open, and adds folder A into it under the "folders" area. Was that expected/intended?
Now something else to try:
1. Close the project, make it go away, so there are no files of folders in the sidebar. (Pop quiz: how? There's no "close project" command)
2. Close this "clean" edition of ST2
3. cd into folder A and do "sublime_text ."
4. Result: the straightforward and expected behavior. BUT...
5. Now close ST2.
6. cd into folder B and do "sublime_text ."
7. Result: both folder and A and folder B are in the sidebar! Why??
In order to predict what ST2 is going to do at any point here requires quite some real thinking. If you have spent any time with Textmate, you know that the mental model around projects and folders is much more straightforward. I'm claiming that that is incredibly valuable -- and has the advantage of probably being much easier to implement than ST2's project feature with its many menu commands (with commands like "close project" still MIA).