Sublime Text Syntax Highlighter: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 1: Line 1:
== Description ==
== Description ==


A package for Sublime Text (and TextMate) to add NSIS syntax highlighting for NSIS. This also provides build tools for Sublime Text.
A package for [http://www.sublimetext.com/ Sublime Text] (and [http://macromates.com/ TextMate]) to add NSIS syntax highlighting for NSIS. This also provides build tools for Sublime Text to compile your scripts from within the editor. Currently supported are Sublime Text versions 2 and 3 (beta).


[[File:Monokai-soda.png]]
[[File:Monokai-soda.png]]

Revision as of 07:53, 1 June 2013

Description

A package for Sublime Text (and TextMate) to add NSIS syntax highlighting for NSIS. This also provides build tools for Sublime Text to compile your scripts from within the editor. Currently supported are Sublime Text versions 2 and 3 (beta).

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)