I'm working with Angular 2, and Webstorm doesn't seem quite ready for the template to be sitting right there in the Typescript file.
Specifically, it's highlighting anything that goes between the tilde's (`).
The highlighting is really annoying!
With WebStorm, you can run and debug client-side TypeScript code and TypeScript code running in Node. js. Learn more from Running and debugging TypeScript.
From the main menu, select File | New, and then select HTML File from the list. WebStorm creates a stub file based on the HTML file template and opens it in the editor.
In Webstorm, go to:
Settings > Editor > Colors and Fonts > General > Code > Injected Language Fragment
By default, it's assigned a background color. Just uncheck the box and it'll go away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With