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

Enlister

by kaelspencer ST3

A Sublime Text 3 plugin to launch project specific tools and such via subprocess.

Details

Installs

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

sublime-enlister

Enlister is a plugin that can launch project specific tools. Typically, this is used to launch build environments that vary depending on the project. The plugin looks for the project setting enlister which is an array of objects that have three properties: * name - The display name in the command palette. * command - The command to launch. This is passed directly to subprocess. It can be an array of strings if arguments need to be split out. * shell - The value for the shell parameter in subprocess.Popen. Optional, defaults to False. * working_dir - The working directory.

See enlister.sublime-project for samples, or look below.

Installation

Copy these files into an enlister folder under your user Packages. Or, install via Package Control.

Usage

Enlister looks for your commands in the current project's settings. Launch the command palette and type enlister. This causes the command palette to display all valid commands for the project.

Samples

{
    "enlister": [
        {
            "name": "terminal",
            "command": "gnome-terminal",
            "shell": false,
            "working_dir": "/home/kael/Documents/code"
        },{
            "name": "python",
            "command": "gnome-terminal --tab --maximize --command python",
            "shell": true,
            "working_dir": "/home/kael/Documents/code"
        },{
            "name": "windows",
            "command": "c:\\Windows\\System32\\cmd.exe /k \"d:\\env\\project1\\start.cmd\"",
            "shell": true,
            "working_dir": "d:\\env\\project1"
        },{
            "name": "conemu",
            "command": "c:\\Windows\\System32\\cmd.exe /k \"d:\\Tools\\ConEmu\\ConEmu\\ConEmuC64.exe /ATTACH /NOCMD & d:\\env\\project1\\start.cmd\"",
            "shell": true,
            "working_dir": "d:\\env\\project1"
        }
    ]
}