Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

angular_analyzer_plugin doesn't work until you clear Dart Analysis Server cache (.dartServer folder) #709

Open
alexander-doroshko opened this issue May 30, 2019 · 0 comments

Comments

@alexander-doroshko
Copy link

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.
    image

  • 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.

@alexander-doroshko alexander-doroshko changed the title Need to clear Dart Analysis Server cache (.dartServer folder) to make angular_analyzer_plugin work angular_analyzer_plugin doesn't work until you clear Dart Analysis Server cache (.dartServer folder) May 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant