Html web template template format with Angular 2

In the WebStorm 2016.1 release notes, they have this image.

enter image description here

Look here

But when I try to introduce this target, it looks like

enter image description here

Do I need to manually enter tabs for this to happen? Isn't that an automatic format? If so, how do I set up automatic formatting?

+4
source share
1 answer

You can use the Angular2HTML fragment editor. When your cursor is inside the built-in template, you should see a pop-up window with an orange exclamation. This should be the "Edit Angular2HTML Snippet" option.

enter image description here

I am using the latest version of WebStorm 2016.1

+4
source

All Articles