Drunken NSIS: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "== Description == 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, u...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Description ==
== Description ==


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. This package irons some of the inconsistencies of the NSIS language, allowing command aliases to be completed into valid syntax. Furthermore, valid syntax completions are included as well.
Alternative NSIS syntax completions for [http://www.sublimetext.com/ Sublime Text], right kinda wrong.
 
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. This package irons some of the inconsistencies of the NSIS language, allowing command aliases to be completed into valid syntax. Combined with the proper NSIS completions and Sublime Text's built-in fuzzy command completion, this makes for a great companion!


== Installation ==
== Installation ==
Line 9: Line 11:
1. Make sure you already have [http://sublime.wbond.net/installation Package Control] installed
1. Make sure you already have [http://sublime.wbond.net/installation 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 (<code>Ctrl+Shift+P</code> on Windows and Linux, <code>⇧⌘P</code> on OS X)


3. Select *Drunken NSIS* and press `Enter`
3. Select ''Drunken NSIS'' and press <code>Enter</code>


With [http://wbond.net/sublime_packages/package_control/settings/ auto_upgrade] enabled, Package Control will keep all installed packages up-to-date!
With [http://wbond.net/sublime_packages/package_control/settings/ auto_upgrade] enabled, Package Control will keep all installed packages up-to-date!
=== GitHub ===
1. Change to your Sublime Text <code>Packages/User</code> directory
2. Clone repository <code><nowiki>git clone https://github.com/idleberg/Drunken-NSIS.git</nowiki></code>
=== Manual Installation ===
1. Download the files using the GitHub [https://github.com/idleberg/Drunken-NSIS/archive/master.zip .zip] download option
2. Unzip the files to your Sublime Text <code>Packages/User</code> directory


== Usage ==
== Usage ==
Line 27: Line 41:
Named after the Prince Emulator in Douglas Coupland's [http://www.wired.com/wired/archive/2.01/microserfs.html Microserfs], these versions make no difference between <code>BringToFront</code>/<code>Bring2Front</code> or <code>Goto</code>/<code>Go2</code>. Again, make use of the <code>Tab</code> key to jump between fields.
Named after the Prince Emulator in Douglas Coupland's [http://www.wired.com/wired/archive/2.01/microserfs.html Microserfs], these versions make no difference between <code>BringToFront</code>/<code>Bring2Front</code> or <code>Goto</code>/<code>Go2</code>. Again, make use of the <code>Tab</code> key to jump between fields.
[[Category:Development Environments]]
[[Category:Development Environments]]
=== Sober NSIS ===
A [http://github.com/idleberg/NSIS-Sublime-Text complete set] of valid command completions up to [http://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0a2/RELEASE.html/view NSIS 3.0a2] is included as well. For those that got their syntax right.


== License ==
== License ==

Latest revision as of 23:18, 21 August 2014

Description

Alternative NSIS syntax completions for Sublime Text, right kinda wrong.

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. This package irons some of the inconsistencies of the NSIS language, allowing command aliases to be completed into valid syntax. Combined with the proper NSIS completions and Sublime Text's built-in fuzzy command completion, this makes for a great companion!

Installation

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 Drunken NSIS and press Enter

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

GitHub

1. Change to your Sublime Text Packages/User directory

2. Clone repository git clone https://github.com/idleberg/Drunken-NSIS.git

Manual Installation

1. Download the files using the GitHub .zip download option

2. Unzip the files to your Sublime Text Packages/User directory

Usage

All invalid syntax is prefixed with a § symbol. Press Tab to auto-complete to valid syntax.

Word Order

The order of noun and verb is reversible, you can use combos such as FileRead/ReadFile or SectionSetText/SetSectionText. 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

A complete set of valid command completions up to NSIS 3.0a2 is included as well. For those that got their syntax right.

License

The MIT License (MIT)

Copyright (c) 2014 Jan T. Sott

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Links