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 283
  • Win 209
  • Mac 52
  • Linux 22
Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 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
Windows 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
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"
        }
    ]
}