ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Easy​Workspace

by jmooney ST3

A plugin for managing workspaces in sublime-text!

Details

Installs

  • Total 1K
  • Win 721
  • Mac 340
  • Linux 300
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7
Windows 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Easy workspace management for sublime!

Save and reopen files and folders with less hassle.

Features: - Quick and Easy interface for saving/loading workspaces - No sublime-project required - Usable from command line (see git integration below)

Requirements

  • Sublime Text 3 (recent build)

Installing

With Package Control

  1. Install Package Control
  2. Run “Package Control: Install Package” command
  3. Find and install the 'EasyWorkspace' plugin
  4. Restart Sublime Text if there are issues

Manually

Clone the repository in your Sublime Text “Packages” directory:

git clone https://github.com/jmooney/EasyWorkspace-sublime.git

The “Packages” directory is located at:

  • OS X: ~/Library/Application Support/Sublime Text 3/Packages/
  • Linux: ~/.config/sublime-text-3/Packages/
  • Windows: %APPDATA%\Sublime Text 3\Packages\

Usage

EasyWorkspace can save your open files and folders for easy access!

Save Workspace    | ctrl+alt+s       | Save open files and folders as an easy workspace
Save As Workspace | ctrl+alt+shift+s | Save easy workspace to specified file
Open Workspace    | ctrl+alt+o       | Open an existing workspace

EasyWorkspace commands are also available from the command palette or the menu!

Tools->Packages->EasyWorkspace

Commands

OpenEasyWorkspace        | Opens an existing easy workspace
SaveEasyWorkspace        | Saves open files and folders to an easy workspace file
SaveAsEasyWorkspace      | Saves open files and folders to a specified easy workspace file
DeleteEasyWorkspace      | Delete an existing easy workspace
ReopenLastEasyWorkspace  | Reopens the most recently closed workspace
ShowOpenedEasyWorkspace  | Shows the currently opened workspaces

Git Integration

For explicit examples on integrating git with EasyWorkspace, see 'easy-ws-git-integration.sh'
included in this repository's root directory.

Have you ever been knee-deep in adding a new feature to your git-versioned project when suddenly a critical bug pops up? You save your current changes in your feature branch, then start a new branch to tackle the bug. Git is happy, but what about sublime!? All your open files/folders are just clutter while you work to fix the new bug.

Wouldn't it be great if you could save your sublime workspace for your feature branch and restore it when you come back to work on it? Well, with EasyWorkspace, you can!

EasyWorkspace commands are runnable from the command line. This allows one to easily integrate EasyWorkspace with the shell and/or git to automatically manage workspaces.

For instance, one can create git aliases to do the following:

  1. Save the active sublime workspace as an EasyWorkspace file associated with the current or specified git repo and branch.

  2. Automatically open the EasyWorkspace associated with either the current or a specified git branch

To see these examples in action, check out the easy-ws-git-integration.sh file included in this repositories root directory. This file details and exemplifies script functions and git aliases which perform the above actions!