dart-archive / angular_analyzer_plugin

WORK MOVED TO dart-lang/angular repository
https://github.com/dart-lang/angular/tree/master/angular_analyzer_plugin
68 stars 13 forks source link

No HTML support for custom components in AngularDart #645

Open theoaks opened 5 years ago

theoaks commented 5 years ago

No html intellisense for AngularDart Custom Components on Webstorm.

jodinathan commented 5 years ago

e-mailed jetbrains asking about this and got this answer:

Elena Pogorelova (IntelliJ) Nov 19, 21:16 CET

Hello!

thank you for your feedback!

Parsing my AngularDart components correctly in templates.

Dart Angular support is powered by the Dart Analysis Server (a tool from the Dart SDK) and angular-analyzer-plugin. Please report issues to Google team, https://github.com/dart-lang/angular_analyzer_plugin/issues

Follow WebStorm blog and Twitter to get product news and useful tips.

Best regards, Lena

schnaser commented 5 years ago

Is this the same issue as https://github.com/dart-lang/angular_analyzer_plugin/issues/640 ?

alexander-doroshko commented 5 years ago

This should work fine in IntelliJ IDEA / WebStorm 2019.1.3. But you might need to clear Analysis Server caches after enabling 'angular' plugin in the analysis_options.yaml file. It means - delete .dartServer folder (on Windows it's in C:\Users\user_name\AppData\Local.dartServer). Filed https://github.com/dart-lang/angular_analyzer_plugin/issues/709.