Puppet highlighting, snippets and completion for Sublime Text 2 & 3.
Now with Windows parsing support.
First, install the Package Control plugin, instructions here: https://packagecontrol.io/installation
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 SublimePuppet 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.
Sublime Puppet can be manually installed to your Sublime Text "Packages" directory. You can find and open the "Packages" directory from the Sublime Text menu at:
Preferences | Browse Packages...
Then download the code into place from the Git version control repository or by directly downloading a snapshot of the latest code:
With Git:
-
Change your working directory to the Sublime Text "Packages" directory
-
Clone the repository into your Sublime Text "Packages" directory:
git clone https://github.com/russCloak/SublimePuppet.git
Without Git:
- Download the latest SublimePuppet source code archive.
- Unpack the downloaded archive to a local folder somewhere.
- Rename the unpacked folder
SublimePuppet-master
to the new nameSublimePuppet
. - Move the
SublimePuppet
folder into your Sublime Text "Packages" directory.
This SublimePuppet package requires Puppet be intalled on your system in order to run syntax check commands. Follow the steps outlined in the Puppet Labs guide to Installing Puppet.
If you would like to contribute enhancements or fixes, please do the following:
- Fork the SublimePuppet package Github repository.
- Hack on a separate topic branch created from the latest
master
branch. - Commit and push your topic branch to your forked remote repository.
- Make a pull request on Github with a
- short descriptive title.
- description outlining the purpose of your changes.
- Be patient. ;-)
Please note that modifications should follow these coding guidelines:
- Indent is 4 spaces.
- Indent using spaces only.
- 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.