angular_analyzer_plugin doesn't work until you clear Dart Analysis Server cache (.dartServer folder)
alexander-doroshko opened this issue · 0 comments
alexander-doroshko commented
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.yaml
file, 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.