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