Sublime Text Syntax Highlighter: Difference between revisions

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


'''This is part of the [http://github.com/NSIS-Handbook/Tools/tree/master/Sublime%20Text Sublime Text Packages for NSIS] which comes with an optional setup routine.'''
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]]


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''':<br/>
'''This is part of the [http://github.com/NSIS-Handbook/Tools/tree/master/Sublime%20Text Sublime Text Packages for NSIS] which comes with an optional setup routine.'''
Also take a look at the [[Sublime Text Packages]] for syntax completion, and the [[Sublime Text Build System for NSIS]]


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

Revision as of 22:00, 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 Packages for syntax completion, and the Sublime Text Build System for NSIS


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