Sublime Text Syntax Highlighter: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
Line 14: Line 14:
Easiest way to install the plugin is to use [http://wbond.net/sublime_packages/package_control Package Control]:
Easiest way to install the plugin is to use [http://wbond.net/sublime_packages/package_control Package Control]:


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


=== Using Git ===
=== Using Git ===


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


  git clone <nowiki>https://github.com/SublimeText/NSIS</nowiki> "NSIS"
  git clone <nowiki>https://github.com/SublimeText/NSIS</nowiki> "NSIS"

Revision as of 13:16, 16 August 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 application settings area.

Using Git

Go to your Sublime Text 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)