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

Easy​Workspace

by jmooney ST3

A plugin for managing workspaces in sublime-text!

Details

  • 1.0.0
  • github.​com
  • github.​com
  • 10 months ago
  • 22 minutes ago
  • 9 months ago

Installs

  • Total 259
  • Win 138
  • OS X 70
  • Linux 51
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 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6
Windows 1 1 1 0 1 1 0 0 1 3 1 1 1 1 1 3 0 0 0 0 0 0 1 0 0 1 0 0 0 1 2 0 1 2 0 0 3 1 1 1 0 0 0 2 0
OS X 0 0 1 0 1 1 0 0 1 1 0 2 2 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 2 2
Linux 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 2 1

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!