Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
This repository was 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

Description

@alexander-doroshko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions