angular_analyzer_plugin
angular_analyzer_plugin copied to clipboard
angular_analyzer_plugin doesn't work until you clear Dart Analysis Server cache (.dartServer folder)
IntelliJ IDEA 2019.1.3 or later + corresponding Dart plugin. Dart SDK 2.3.1. Steps to reproduce:
- Create a new Dart project (chose AngularDart Web App template). 'Pub get' done automatically. No analysis errors.
- Enable angular plugin in the
analysis_options.yamlfile, restart Analysis Server (or reopen project)
analyzer:
...
plugins:
- angular
-
Observe that there's a lot of yellow code in HTML templates, AngularDart-specific navigation and completion doesn't work.

-
Clear Analysis Server caches (i.e. delete .dartServer folder, on Windows it's in
C:\Users\user_name\AppData\Local\.dartServer) -
Reopen project, wait a minute after analysis is complete
-
Now the angular_analyzer_plugin works. Navigation, completion, etc.