ST3: Projects & workspaces - mhulse/mhulse.github.io GitHub Wiki

I just started using ST3 "Projects" today.

There's two advantages:

  1. Speed. ST3 is much faster when there's not a lot of folders in sidebar. Using projects allows for the sidebar content to be specific to what you're current working on, which means less files overall, so that make ST3 faster (for some reason, having too many files/folders in sidebar makes things slow).

  2. Switching between projects retains open tabs/files! The "Workspace" is saved. This helps to keep organized and focused. Use Control Key + Command Key + P to quickly switch projects:

projects-switch

I've created a folder in my Dropbox labled "sublime" and I store all my projects there (ST3 creates two json files for every project). I name my projects after the names of my repos:

dropbox

How to create a new project:

  1. Open ST3.
  2. Make sure it's a fresh window (i.e., not another Project/Workspace).
  3. Got to Project >> Save Project As …
  4. Save your project as "repo-name.sublime-project" to your "sublime" Dropbox folder.
  5. Add a folder to your project: Project >> Add Folder To Project … (you can also use the command palette)
  6. Choose your project's folder (most likely will be your repo folder).
  7. That's it!

Workspaces:

Every project can have a unique workspace (see video below). Workspaces are saved automatically.

Video tutorials: