Announcing: Chef Extensions for Visual Studio Code

Ohai Chefs!

It was great to catch up with so many of you at both the Seattle and London Community Summits that I went to!

Today, Microsoft have open sourced their popular code editor, Visual Studio Code (see and provided it with a new extensibility framework, and over the past few weeks I’ve been working on a Chef extension to make the cookbook authoring experience more delightful, including:

  • Syntax/keyword colorization support for Chef/Chef Provisioning DSL
  • Snippets - autocompleting code snippets for every resource built into Chef Client 12.5
  • Rubocop static code analysis/style highlighting

The extension can be downloaded from within Visual Studio Code BETA (which you’ll need to update to if you had a previous version). More details and screenshots can be found on my blog:

Of course we open-sourced the extension too at so if you want to, give it a go and let us know what you think. Feedback, contributions and grumbles are all welcome!


Stuart Preston
Technical Director, Pendrica

1 Like

Thanks Stuart!

I loved that I could install this just by hitting ctrl+p then typing “ext install chef” in Code.

1 Like