Enlister
A Sublime Text 3 plugin to launch project specific tools and such via subprocess.
Details
Installs
- Total 324
- Win 237
- Mac 63
- Linux 24
Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 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 | 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"
}
]
}