Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>bicep-syntaxNew to Visual Studio Code? Get it now.
bicep-syntax

bicep-syntax

Data Infrastructure ENDK

|
434 installs
| (0) | Free
A language server example
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Data Infrastructure Bicep Extension

This extension is designed to help my team and I adhere to some syntax rules.

The current syntax warnings are:

  • If the fields inside a type doesn't have a description
  • If a parameter does not have a description

There is also functionality for checking if a module used is outdated. This is done by making use of the Azure identity package, this should use any available login to authenticate with the container registry. Having access to the container registry then allows us to create a list of all repos and tags in the current file and then on file change, check the bicep module for outdated modules.

When you open a .bicep file it will "prime" the repositories, this means that is running through the file and finding the latest tag for all the modules in the file, it also checks if there is a "main" version of the module.

When you save the file (which vscode does more on it's own then i thought) then the file will be checked for outdated modules of modules that are not using the "main" version, if available. It also check the types (currently only fields inside type arrays or objects) and parameters for the description decorator. This is done by converting the .bicep file to a json arm template and then looking up the type of parameter in the json object, if the description os not pressent a warning will be shown.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft