Sublime Text completions for Nullsoft Scriptable Install System (NSIS) supporting commands, macros and plugins that are bundled with NSIS v2.46 (and 3.0a2).
This package irons some of the inconsistencies of the NSIS language, allowing command aliases to be completed into valid syntax (see usage for details.) It is meant as an extension for the basic NSIS Completions & Snippets package!
This might or might not be a good idea to improve your NSIS skills. Using this package, you will likely never memorize the correct syntax. But then again, using this you don't have to anymore.
- Make sure you already have Package Control installed
- Choose “Install Package” from the Command Palette (Super+Shift+p)
- Type “Drunken NSIS” 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-drunken-nsis.git 'Drunken NSIS'
- Download the latest stable release
- Unzip the archive to your Sublime Text
Packages
directory
In Sublime Text's completion tab, all invalid syntax is prefixed with a %
symbol (no need to type this!) Press Tab
to auto-complete into valid syntax.
The order of noun and verb is reversible, you can use a variety of combinations:
FileRead
/ReadFile
ReadINIStr
/INIStrRead
SectionSetText
/SetSectionText
LogSet
/SetLog
FindFirst
/FirstFind
${FindLine}
/${LineFind}
- etc.
Use Tab
key to jump between fields.
Named after the Prince Emulator in Douglas Coupland's Microserfs, these versions make no difference between BringToFront
/Bring2Front
or Goto
/Go2
. Again, make use of the Tab
key to jump between fields.
This package no longer ships with “sober” completions. You can restore this functionality by installing the basic NSIS Completions & Snippets package.
This work is licensed under the The MIT License.