|
|
Line 1: |
Line 1: |
| == Description ==
| | #REDIRECT [[Sublime Text]] |
| | |
| A package for [http://www.sublimetext.com/ Sublime Text] (and [http://macromates.com/ TextMate]) to add syntax highlighting for NSIS. Works with Sublime Text versions 2 and 3 (beta).
| |
| | |
| '''Note''': Also take a look at the [[Sublime Text Completions]] and the [[Sublime Text Build System]]
| |
| | |
| | |
| '''All packages mentioned above are available as [http://github.com/NSIS-Handbook/Tools/tree/master/Sublime%20Text%20Packages combined download] with an optional setup routine.'''
| |
| | |
| [[File:Monokai-soda.png]]
| |
| | |
| == Installation ==
| |
| | |
| === Sublime Text ===
| |
| | |
| ==== Package Control ====
| |
| | |
| 1. Make sure you already have [http://wbond.net/sublime_packages/package_control Package Control] installed
| |
| | |
| 2. Choose ''Install Package'' from the Command Palette (Ctrl+Shift+P on Windows and Linux, ⇧⌘P on OS X)
| |
| | |
| 3. Select ''NSIS'' and press Enter
| |
| | |
| ==== GitHub ====
| |
| | |
| Go to your Sublime Text ''Packages'' directory and clone the repository using the command below:
| |
| | |
| git clone <nowiki>https://github.com/SublimeText/NSIS.git</nowiki> "NSIS"
| |
| | |
| ==== Download Manually ====
| |
| | |
| * Download the files using the GitHub .zip download option
| |
| * Unzip the files and rename the folder to NSIS
| |
| * Copy the folder to your Sublime Text Packages directory
| |
| | |
| ==== Portable NSIS support ====
| |
| | |
| Support for portable NSIS can be achieved by either putting the main NSIS program directory path in either the PATH or NSIS_HOME environment variables.
| |
| | |
| === TextMate ===
| |
| Download and store the NSIS.tmlanguage files in ''/Library/Application\ Support/TextMate/Bundles''. For more details please refer to the [http://manual.macromates.com/en/bundles#getting_more_bundles TextMate Manual].
| |
| | |
| = Links =
| |
| [https://github.com/SublimeText/NSIS SublimeText/NSIS] (GitHub)
| |
| | |
| [[Category:Syntax_Highlighting]]
| |
| [[Category:Development Environments]]
| |