Syntax Highlight Guide | Visual Studio Code Extension API
https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide
Creating A Basic Injection GrammarEmbedded LanguagesToken Types and Embedded LanguagesInjection grammars are contributed though the package.json just like regular grammars. However, instead of specifying a language, an injection grammar uses injectToto specify a list of target language scopes to inject the grammar into. For this example, we'll create a simple injection grammar that highlights TODO as a k…See more on code.visualstudio.comSoftware Version: 1.87 Software Version: 1.87
Software Version: 1.87
DA: 86 PA: 92 MOZ Rank: 21