Sublime Text Syntax Highlighter: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
[[File:Monokai-soda.png]]
[[File:Monokai-soda.png]]


== Installation (Sublime Text)==
== Installation ==


Easiest way to install the plugin is to use [http://wbond.net/sublime_packages/package_control Package Control]:
=== Sublime Text ===


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


=== Using Git ===
1. Make sure you already have [http://wbond.net/sublime_packages/package_control Package Control] installed
 
2. Choose '''Install Package''' from the Command Palette (Ctrl+Shift+P on Windows and Linux, ⇧⌘P on OS X)
 
3. Select "NSIS" and press Enter
 
==== Using Git ====


Go to your Sublime Text ''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:
Line 22: Line 28:
  git clone <nowiki>https://github.com/SublimeText/NSIS.git</nowiki> "NSIS"
  git clone <nowiki>https://github.com/SublimeText/NSIS.git</nowiki> "NSIS"


=== Download Manually ===
==== Download Manually ====


* Download the files using the GitHub .zip download option
* Download the files using the GitHub .zip download option
Line 28: Line 34:
* Copy the folder to your Sublime Text Packages directory
* Copy the folder to your Sublime Text Packages directory


=== Portable NSIS support ===
==== 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.
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) =
=== TextMate ===
Download and store the NSIS.tmlanguage files in ''/Library/Application\ Support/TextMate/Bundles''. For more details please refer to the [http://manual.macromates.com/en/bundles#getting_more_bundles TextMate Manual].
Download and store the NSIS.tmlanguage files in ''/Library/Application\ Support/TextMate/Bundles''. For more details please refer to the [http://manual.macromates.com/en/bundles#getting_more_bundles TextMate Manual].



Revision as of 13:26, 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. Works with 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

Package Control

1. Make sure you already have Package Control installed

2. Choose Install Package from the Command Palette (Ctrl+Shift+P on Windows and Linux, ⇧⌘P on OS X)

3. Select "NSIS" and press Enter

Using Git

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

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

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)