![License][license-image] # Sublime Azure Resource Manager Quickly create new or edit existing [Azure resource manager templates][arm-reference-msdn] with Sublime Text 2/3 with syntax highlighting, snippets and much more ! Features --- - Full syntax highlighting, - Create new template, resources, variables, parameters or output values via built-in snippets - Quickly wrap existing resource definition in a template - Comment / uncomment sections with one keystroke - Coming soon: Automatic detection of Azure resource manager templates when files are opened - Coming soon: Parameters, variables, built-in functions and completion list - Coming soon: Validate templates right from within Sublime Text via Azure Resource Manager validation API Installation --- * Using [Package Control][package-control] (recommended): Press `Ctrl + Shift + P` and `Install Package` then `Azure Resource Manager` * Clone the repo into your `Packages` folder: `git clone https://github.com/GillesZunino/Sublime-AzureResourceManager.git AzureResourceManager` Documentation --- #### Activating Sublime Azure Resource Manager Sublime Azure resource manager is activating by selecting the "Azure Resource Manager" syntax with one of the following: - Press `Ctrl + Shift + P` and `Set Syntax: Azure Resource Manager` - Right click at the bottom of the document and select `Azure Resource Manager` - Sublime Text menu: `View -> Syntax -> Azure Resource Manager` #### Snippets When in Azure resource manager mode, the following snippets can be used to quickly insert or surround existing text with Azure resource manager template items. Simply start typing one of the snippet short-hand below: - New [template][arm-template-msdn]: `arm:t` - New [resource][arm-resource-msdn]: `arm:r` - New [parameter][arm-parameter-msdn]: `arm:p` - New [output][arm-output-msdn]: `arm:o` Snippets can also be inserted from the Sublime Text menu `Tools -> Snippets ...` #### Comment / Un-comment Quickly comment / un-comment sections of an Azure resource manager template with: - Comment / un-comment current line: `Ctrl + /` - Block comment / un-comment current selection: `Ctrl + Shift + /` [license-image]: https://img.shields.io/badge/license-MIT-blue.svg [arm-reference-msdn]: https://msdn.microsoft.com/en-us/library/azure/dn835138.aspx [package-control]: http://wbond.net/sublime_packages/package_control [arm-template-msdn]: https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/#template-format [arm-resource-msdn]: https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/#resources [arm-parameter-msdn]: https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/#parameters [arm-output-msdn]:https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/#outputs [home]: https://github.com/GillesZunino/Sublime-AzureResourceManager.git [mit-license]: http://opensource.org/licenses/MIT