VS Code Property List Syntax HighlightingThis is a conversion of the Property List (XML) TextMate grammar to an injection grammar for XML. It also includes the code snippets from the TextMate bundle. Features
Syntax Highlighting
Code Snippets
ConfigurationAdd this to your
FAQWhy an injection grammar?This started as a direct conversion of the original TextMate grammar but two problems quickly appeared.
Pivoting to an injection grammar solved both issues. Wait, What is an injection grammar?A standard TextMate grammar defines a language and is responsible for tokenising every character in a file of that language. A theme then maps colours to those tokens. An injection grammar builds upon an existing grammar by injecting additional tokenisation rules into it. It doesn't look like the syntax highlighting is workingThis is likely due to how your current theme deals with semantic highlighting or maps colours to TextMate scopes.
You can try setting Does this do formatting?Nope, but the advantage of it being an injection grammar for XML means you can use your XML formatter of choice. I recommend Red Hat's XML extension. Release Notes1.0.0Initial release |

