Skip to content

Writing Syntax Highlighting for Bicep files #1970

Discussion options

You must be logged in to vote

Bicep exposes a language server - an executable which implements the Language Service Protocol, an open standard for providing syntax highlighting, validation, completions, snippets, and other IDE functionality.

For any editors supporting this standard (list here), supporting Bicep should just require a very thin wrapper around running the executable and passing messages back-and-forth. If you (or anyone else reading this issue) is interested in more technical details about how to set this up, I'm definitely happy to go into more detail!

We're also tracking syntax highlighting support for popular (non-LSP) libraries under this issue: #596.

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@brwilkinson
Comment options

@MikeChristensen
Comment options

@brwilkinson
Comment options

@dazinator
Comment options

@anthony-c-martin
Comment options

Answer selected by brwilkinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants