A Sublime Text 2 Package for authoring Chef related files
JavaScript
Latest commit 9463f1d May 1, 2015 @cabeca Merge pull request #16 from vinyar/master
making generated resources pass rubocop
Permalink
Failed to load latest commit information.
Common Actions Removed extra newline in one-line attributes. May 3, 2012
Common Attributes Removed extra newline in one-line attributes. May 3, 2012
Conditional Execution making generated resources pass rubocop Feb 17, 2015
Cookbook File making generated resources pass rubocop Feb 17, 2015
Cron making generated resources pass rubocop Feb 17, 2015
Deploy making generated resources pass rubocop Feb 17, 2015
Directory making generated resources pass rubocop Feb 17, 2015
Env making generated resources pass rubocop Feb 17, 2015
Erlang Call making generated resources pass rubocop Feb 17, 2015
Execute making generated resources pass rubocop Feb 17, 2015
File making generated resources pass rubocop Feb 17, 2015
Group making generated resources pass rubocop Feb 17, 2015
HTTP Request making generated resources pass rubocop Feb 17, 2015
Include Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Link making generated resources pass rubocop Feb 17, 2015
Log Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Mdadm making generated resources pass rubocop Feb 17, 2015
Metadata making generated resources pass rubocop Feb 17, 2015
Mount making generated resources pass rubocop Feb 17, 2015
Notifications Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Ohai making generated resources pass rubocop Feb 17, 2015
Package making generated resources pass rubocop Feb 17, 2015
Remote Directory making generated resources pass rubocop Feb 17, 2015
Remote File Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Roles Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Ruby Block making generated resources pass rubocop Feb 17, 2015
SCM making generated resources pass rubocop Feb 17, 2015
Script making generated resources pass rubocop Feb 17, 2015
Service making generated resources pass rubocop Feb 17, 2015
Template fixing symbols to strings for foodcritic Feb 18, 2015
User making generated resources pass rubocop Feb 17, 2015
.gitignore Ignore Mac OS X files May 2, 2012
README.md Added metadata snippets. Jul 5, 2012
SublimeChef.sublime-completions Removed completions since they are no longer necessary. Completions a… May 3, 2012
SublimeChef.sublime-project Add settings to sublime project May 2, 2012

README.md

SublimeChef

A Sublime Text 2 Package for authoring Chef related files.

This Package provides several code snippets designed to make writing chef recipes faster and even more fun. Each snippet has sensible defaults, carefully chosen placeholders, and several variations to cover almost all of your recipe needs.

Maybe this is better explained with a youtube demo video.

Install

If you have Package Control installed in Sublime Text 2 just press ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X) to open the Command Pallete. Start typing 'install' to select 'Package Control: Install Package', then search for Chef and select it. That's it.

You can also install this package manually by entering the Packages directory of Sublime Text 2 and issuing on a terminal:

git clone https://github.com/cabeca/SublimeChef Chef

Completions

These are the available completions:

actionn
ignoref
provider
retries
supports
not_ifd
not_if
only_ifd
only_if
cookbook_filef
cookbook_file
cronf
cron
deploy
directoryf
directoryr
directory
env
erl_call
executef
executen
execute
filec
filef
file
groupa
group
http_requestp
http_request
include_recipe
linkf
linkh
link
logd
log
mdadm
metadataf
metadata
mountf
mountl
mountn
mount
notifiesi
notifies
subscribesi
subscribes
ohaip
ohai
packageo
packager
packagev
package
remote_filef
remote_filem
remote_file
remote_directoryf
remote_directory
ruby_block
git
subversion
bash
perl
python
role
ruby
script
servicep
service
templatev
template
user