Reputation: 16384
I have installed Angular CLI and generated new project. I'm working in WebStorm, and it seems like it doesn't understand Angular 2 syntax (highlights *ngFor
for example) and there is no autocomplete.
Can someone please help to get autocomplete and correct highlight for Angular 2 code and html tags/attributes?
Upvotes: 1
Views: 199
Reputation: 16384
Looks like the Webstorm 16.1 doesn't work with Angular 2 correctly. Working with Angular presents like a feature of 17.1 version. From Webstorm website (17.1 release): "WebStorm provides advanced coding assistance for Angular, React, Vue.js and Meteor...". The update to latest version for now (2017.1) solved my problem.
Upvotes: 1