Puppet highlighting, snippets and completion for Sublime Text 2 & 3. Now with windows parsing support.
First, install the Package Control plugin, instructions here: http://wbond.net/sublime_packages/package_control.
Once you install Package Control, restart ST2 and bring up the Command Palette (Command+Shift+P
on OS X, Control+Shift+P
on Linux/Windows). Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select SublimeLinter when the list appears. The advantage of using this method is that Package Control will automatically keep SublimePuppet up to date with the latest version.
With Git: Clone the repository in your Sublime Text "Packages" directory:
git clone https://github.com/SublimeLinter/SublimeLinter.git
The "Packages" directory is located at:
-
OS X:
~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
-
Linux:
~/.config/sublime-text-2/Packages/
-
Windows:
%APPDATA%/Sublime Text 2/Packages/
Without Git: Download the latest source from here and copy the SublimePuppet
folder to your Sublime Text "Packages" directory.
Before using this plugin, you must ensure that puppet
is installed on your system. To install puppet
, do the following:
-
Install Ruby.
-
Install
puppet
by typing the following in a terminal:gem install puppet
-
If you are using
rvm
orrbenv
, ensure that they are loaded in your shell’s correct startup file. See here for more information.
If you would like to contribute enhancements or fixes, please do the following:
- Fork the plugin repository.
- Hack on a separate topic branch created from the latest
master
. - Commit and push the topic branch.
- Make a pull request.
- Be patient. ;-)
Please note that modifications should follow these coding guidelines:
- Indent is 4 spaces.
- Code should pass flake8 and pep257 linters.
- Vertical whitespace helps readability, don’t be afraid to use it.
- Please use descriptive variable names, no abbreviations unless they are very well known.