Sublime Text Syntax Highlighter: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 3: Line 3:
A package for [http://www.sublimetext.com/ Sublime Text] (and [http://macromates.com/ 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).
A package for [http://www.sublimetext.com/ Sublime Text] (and [http://macromates.com/ 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 Packages]] for syntax completion, and the [[Sublime Text Build System for NSIS]]
'''Note''': Also take a look at the [[Sublime Text Completions]] and the [[Sublime Text Build System]]





Revision as of 22:10, 24 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


This is part of the Sublime Text Packages for NSIS which come 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 2 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)