ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Drunken NSIS

by idleberg ALL

Sublime Text completions for NSIS, right kinda wrong

Details

Installs

  • Total 439
  • Win 376
  • Mac 43
  • Linux 20
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Drunken NSIS for Sublime Text

The MIT License GitHub release Travis

Description

Sublime Text completions for Nullsoft Scriptable Install System (NSIS) supporting commands, macros and plugins that are bundled with NSIS v2.46 (and 3.0a2).

This package irons some of the inconsistencies of the NSIS language, allowing command aliases to be completed into valid syntax (see usage for details.) It is meant as an extension for the basic NSIS Completions & Snippets package!

This might or might not be a good idea to improve your NSIS skills. Using this package, you will likely never memorize the correct syntax. But then again, using this you don't have to anymore.

Installation

Package Control

  1. Make sure you already have Package Control installed
  2. Choose “Install Package” from the Command Palette (Super+Shift+p)
  3. Type “Drunken NSIS” and press Enter

With auto_upgrade enabled, Package Control will keep all installed packages up-to-date!

Using Git

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/sublime-drunken-nsis.git 'Drunken NSIS'

Manual installation

  1. Download the latest stable release
  2. Unzip the archive to your Sublime Text Packages directory

Usage

In Sublime Text's completion tab, all invalid syntax is prefixed with a % symbol (no need to type this!) Press Tab to auto-complete into valid syntax.

Word Order

The order of noun and verb is reversible, you can use a variety of combinations:

  • FileRead/ReadFile
  • ReadINIStr/INIStrRead
  • SectionSetText/SetSectionText
  • LogSet/SetLog
  • FindFirst/FirstFind
  • ${FindLine}/${LineFind}
  • etc.

Use Tab key to jump between fields.

Prince Versions

Named after the Prince Emulator in Douglas Coupland's Microserfs, these versions make no difference between BringToFront/Bring2Front or Goto/Go2. Again, make use of the Tab key to jump between fields.

Sober NSIS

This package no longer ships with “sober” completions. You can restore this functionality by installing the basic NSIS Completions & Snippets package.

License

This work is licensed under the The MIT License.