Sublime Text Syntax Highlighter: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
1. Make sure you already have [http://wbond.net/sublime_packages/package_control Package Control] installed
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)
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
3. Select ''NSIS'' and press Enter


==== GitHub ====
==== GitHub ====

Revision as of 13:29, 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

GitHub

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)