This extension adds syntax highlighting for embedded Glimmer templates in
JavaScript and TypeScript. It supports two types of embedded template syntaxes:
Template strings, using hbs to denote that they are Handlebars templates:
Template tags, using a custom <template> syntax
It also adds support for the .gjs and .gts file extensions, which are
aliases to JavaScript and TypeScript respectively.
package.json - this is the manifest file in which you declare your language support and define the location of the grammar file that has been copied into your extension.
syntaxes/inline-hbs.json - this is the Text mate grammar file that is injected into javascript and typescript languages.
Get up and running straight away
Press F5 to open a new window with your extension loaded.
Create a new file with a file name suffix matching either javascript or typescript.
Verify that syntax highlighting works and that the language configuration settings are working.
Make changes
You can relaunch the extension from the debug toolbar after making changes to the files in the extension.
You can also reload (Ctrl+R or Cmd+R on Mac) the VS Code window with your extension to load your changes.