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

Npackd

by idleberg ALL

Syntax completions and snippets for creating Npackd XML files

Details

Installs

  • Total 70
  • Win 46
  • Mac 19
  • Linux 5
Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Mac 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 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 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Npackd for Sublime Text

The MIT License GitHub release

Sublime Text snippets to create Npackd XML files.

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 “Npackd” and press Enter

Using Git

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/sublime-npackd.git Npackd

Manual installation

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

Usage

By default, SublimeText does not show the completion pop-up when working in the text scope, yet the completions still work. To enable the pop-up, add text.xml to auto_complete_selector in your user settings.

Snippets

All available Npackd XML elements are prefixed witj npackd: and will complete as you press the Tab key. Special elements are available for npacked:license and npacked:url.

Examples:

  • npacked:file…Install.bat completes to a file element with a path set to .Npackd\Install.bat

  • npacked:license>MIT completes to a license node for the the MIT License

  • npacked:url>GitHub completes to an URL element for a GitHub project

Scaffolding

You can use scaffold:Npackd to scaffold an empty XML file. Use Tab to jump between the available fields. The cheatsheet:Npackd snippet will display all available commands.

License

This work is licensed under the The MIT License.