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 442
  • Win 377
  • Mac 44
  • Linux 21
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Drunken NSIS for Sublime Text

The MIT License GitHub release

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.