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 747
  • Mac 348
  • Linux 311
Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11
Windows 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1
Mac 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 0 0 0 0 0
Linux 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 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!