Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

idleberg/sublime-npackd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Npackd for Sublime Text

The MIT License GitHub release Travis

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.

About

Syntax completions and snippets for creating Npackd XML files

Resources

License

Stars

Watchers

Forks

Packages

No packages published