Sublime Text Syntax Highlighter: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 26: Line 26:
* Download the files using the GitHub .zip download option
* Download the files using the GitHub .zip download option
* Unzip the files and rename the folder to NSIS
* Unzip the files and rename the folder to NSIS
* Copy the folder to your Sublime Text 2 Packages directory
* Copy the folder to your Sublime Text Packages directory


=== Portable NSIS support ===
=== Portable NSIS support ===

Revision as of 12:59, 26 June 2013

Description

A package for Sublime Text (and TextMate) to add syntax highlighting for NSIS. This also provides building tools for Sublime Text to compile your scripts from within the editor. Currently supported are 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 combined download with an optional setup routine.

Monokai-soda.png

Installation (Sublime Text)

Easiest way to install the plugin is to use Package Control:

Alternatively you can git clone directly into Packages directory in the Sublime Text 2 application settings area.

Using Git

Go to your Sublime Text 2 Packages directory and clone the repository using the command below:

git clone https://github.com/SublimeText/NSIS "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.

Installation (TextMate)

Download and store the NSIS.tmlanguage files in /Library/Application\ Support/TextMate/Bundles. For more details please refer to the TextMate Manual.

Links

SublimeText/NSIS (GitHub)