/angular2-inline

VSCode extension that adds syntax highlighting for inline Angular2 templates.

Primary LanguageJavaScript

angular2-inline

This extension is no longer supported.
All functionality that was provided by this extension can now be found in the Angular language service extension: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template

This extension replaces the language-vscode-javascript-angular2 extension.

This package is a language extension for Microsoft Visual Studio Code. It extends the javascript and typescript languages to add Angular2 specific features for inline templates and stylesheets. When you define an inline template or inline style sheet using the backtick character(`) the content will be processed by this extension.

The features provided by this extension:

  • Syntax highlighting of inline html and css.
  • Code completion, highlighting, and hover information for inline html.

Below is an example of what the colorizer looks like in action.

Image of Example

This extension uses modified versions of grammar files and code that is part of the vscode project.