BridleNSIS syntax definitions and completions for Sublime Text (the former work for TextMate as well!)
BridleNSIS is a language extension for NSIS designed to make things easier to express and rein in verbosity of NSIS at places.
Note: This package is compatible with Sublime Text 3 (Build 3103 or higher). Click here for a Sublime Text 2 version of this package.
- Make sure you already have Package Control installed
- Choose “Install Package” from the Command Palette (Super+Shift+p)
- Type “BridleNSIS” and press Enter
With auto_upgrade enabled, Package Control will keep all installed packages up-to-date!
- Change to your Sublime Text
Packages
directory - Clone repository
git clone https://github.com/idleberg/sublime-bridlensis.git BridleNSIS
- Download the latest stable release
- Unzip the archive to your Sublime Text
Packages
directory
To avoid interference with vanilla NSIS, consider using the file-extensions .bridle-nsis
and .bridle-nsh
. Alternatively, you can set the syntax to “BridleNSIS” (source.nsis.bridle
) manually.
Since all BridleNSIS commands match their vanilla NSIS equivalents, the completions are prefixed with b:
. While Sublime Text's fuzzy search doesn't require you to type the prefix, you might get quicker results doing so, especially for commands such as If
, which could be confused with the compile-time command !if
or the LogicLib macro ${If}
.
On Windows, you can build your script using the default Superb. If you have any build systems for vanilla NSIS installed, you might have to switch to BridleNSIS before building.
This work is licensed under the The MIT License.