Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed UDT syntax highlighting (#14372)
Fixed the recent regression in syntax highlighting for user defined types: * Now emitting `SemanticTokenType.Namespace` for namespace symbols. * Now emitting `SemanticTokenType.Type` for `TypeVariableAccessSyntax` that resolves to a valid type symbol. * Now emitting `SemanticTokenType.Keyword` for `null`, `true` and `false` type keywords. Examples of changes: <img width="458" alt="image" src="https://github.com/Azure/bicep/assets/22460039/42e65336-4885-43d6-8308-ea06b762d789"> I will look into adding tests separately since we don't currently have baselines or meaningful unit tests for syntax highlighting. (I recall we had some issues with that in the past, but will need to confirm.) This fixes #14147 ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/14372)
- Loading branch information