Build Switcher
A plugin for Sublime Text 2, so easily switch between build systems.
Details
Installs
- Total 1K
- Win 560
- Mac 374
- Linux 253
Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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
BuildSwitcher (Sublime Text 2 plugin)
Do you have multiple build systems per project ? This plugin will help you quickly execute the one you want.
Instalation
Recommended way is using PackageControll package.
Or you can download the tarball and extract it to your ~/Library/Application Support/Sublime Text 2/Packages/BuildSwitcher
.
Configuration
There is currently no way to get list of available build systems in Sublime, so you need to explicitly specify the ones you wanna list. Just add into your XXX.sublime-project
something like this:
{
"settings": {
"build_switcher_systems": [
"Unit tests",
"CoffeeScript",
["My unit tests", "c:\\builds\\UI_tests.sublime-build"],
["My CoffeeScript", "/Users/me/build/coffee.sublime-build"]
]
}
}
You can provide either build name only or custom name and build file path.
If you don't specify any build system, BuildSwitcher will just execute the currently selected build (the same behavior as Sublime's default super+b
shortcut).
If you specify only one build system, it will execute it without asking.
If you specify multiple systems, you always get a pop up with options (sorted by usage).
Build variants can be specified by separating them from the build name using a pound sign “#.
So configuring:
“build_switcher_systems”: [“Make”, “Make#Install”, [“MyMake#Install”, “/Users/me/make.sublime-build”]]
and then choosing “Make#Install” will trigger the Make build system in the “Install” variant.
Defining key shortcut
By default, “build_switcher” is mapped to CMD+B
, however you can easily change that, just add to your keymap preferences:
{ "keys": ["super+b"], "command": "build_switcher" }