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 166
  • Win 90
  • OS X 42
  • Linux 34
Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30
Windows 0 0 1 0 1 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 1 1 0 1 0 0 0 0 3 0 2 2 0 0 0 0 0 0 1 1 0 1 0 1 1 4
OS X 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 3 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0
Linux 0 0 0 1 0 0 2 0 0 0 0 0 0 1 0 0 0 0 1 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

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

Not Available Yet, but Coming Soon!

  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

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!