PackageDev provides syntax highlighting and other helpful utility for Sublime Text resource files.
Resource files are ways of configuring the Sublime Text text editor to various extends, including but not limited to: custom syntax definitions, context menus (and the main menu), and key bindings.
Thus, this package is ideal for package developers, but even normal users of Sublime Text who want to configure it to their liking should find it very useful.
- Download & Install
Sublime Text 3(https://www.sublimetext.com/3) - Go to the menu
Tools -> Install Package Control, then, wait few seconds until the installation finishes up - Now, Go to the menu
Preferences -> Package Control - Type
Add Channelon the opened quick panel and press Enter - Then, input the following address and press Enter
https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json - Go to the menu
Tools -> Command Palette... (Ctrl+Shift+P) - Type
Preferences: Package Control Settings – Useron the opened quick panel and press Enter - Then, find the following setting on your
Package Control.sublime-settingsfile:"channels": [ "https://packagecontrol.io/channel_v3.json", "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json", ],
- And, change it to the following, i.e., put the
https://raw.githubusercontent...line as first:"channels": [ "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json", "https://packagecontrol.io/channel_v3.json", ],
- The
https://raw.githubusercontent...line must to be added before thehttps://packagecontrol.io...one, otherwise, you will not install this forked version of the package, but the original available on the Package Control default channelhttps://packagecontrol.io...
- The
- Now, go to the menu
Preferences -> Package Control - Type
Install Packageon the opened quick panel and press Enter - Then, search for
PackageDevand press Enter
See also:
- ITE - Integrated Toolset Environment
- Package control docs for details.
Syntax highlighting for various resource files is available immediately.
Various commands, for example creating a new resource, are made available through the command palette (Primary+Shift+P) with the "PackageDev:" prefix and in the main menu under Tools → Packages → Package Development,
Note: The Primary key refers to Ctrl on Windows and Linux and Command (⌘) on macOS.
Detailed documentation is available at the repository's wiki.
-
Syntax definitions for:
- Build System files
- Color Scheme files
- Commands files
- Completions files
- Keymap files
- Macro files
- Menu files
- Mousemap files
- Project files
- Settings files
- Snippet files
- Syntax definition files (both Sublime Text and TextMate)
- TextMate Preferences (
.tmPreferences)
-
Static and dynamic completions for all the above, where sensible.
Dynamic completions are provided for all files expecting command names, syntax definitions, color schemes, and settings files.
-
Snippets for some of the above.
In files holding multiple "entries", snippets are available with the trigger
eandeefor a short and a long entry, respectively. -
Commands to create (or open) a package and various resource files with standard templates.
-
Checking for unknown settings keys.
-
Hover popups for setting keys with a description and their default value.
-
And more!