WebStorm: How To Prettify HTML In Quotes Within A JavaScript File
I have the following block in my app.component.ts file: @Component({ selector: 'my-app', template: `
{{title}}
My Heroes&
Solution 1:
You can use Edit Angular2HTML Fragment intention:
To bring it up, just click Ctrl+Enter on the string.
It will open editor, where you can prettify code and the changes will be reflected in the string.

Post a Comment for "WebStorm: How To Prettify HTML In Quotes Within A JavaScript File"