Angular 2 Template Support

So, PHPStorm is supposed to have everything that Webstorm has, right?

PhpStorm = WebStorm + PHP + DB/SQL

All the features of WebStorm are included into PhpStorm, and full-fledged support for PHP and Databases/SQL support are added on top.

So, PHPStorm does not have native support for Angular 2+ HTML templates. Downloading and installing the AngularJS plugin is supposed to provide that support. It does, partially. Except it does not recognize asterisk directives (i.e. *ngIf, *ngFor, *.ngSwitchCase, etc.). I have discovered that you can add the directive but without the asterisk. According to the Angular documentation, this is required.

My question, does anyone know how to get this to work correctly?

0
1 comment

Angular templates are supported through AngularJS plugin (just as in WebStorm). What PHPStorm version do you work with? https://youtrack.jetbrains.com/issue/WEB-26200 is fixed in most recent 2017.1.x updates

0

Please sign in to leave a comment.