ReSharper 2017.1 Help

Angular 2 HTML Templates Support

ReSharper 2017.1 provides experimental IDE support for Angular 2 HTML template language.

ReSharper highlights Angular syntax in .html files, detects and highlights errors in injected JavaScript/TypeScript. Basic code completion and other typing assistance features are available in the editor. You can go to declarations of JavaScript/TypeScript symbols, search for their usages, and enjoy other navigation features.

ReSharper: Angular HTML template language support

By default, the support of Angular HTML template syntax is disabled. To enable it, open the Code Editing | HTML | Editor options page and choose the corresponding value in the Support Angular markup selector.

Once Angular support is enabled, you can fine tune which kinds of Angular syntax items should be recognized and processed by ReSharper. To do so, use the corresponding check-boxes on the Code Editing | Language Injections options page.

Last modified: 4 July 2017