Skip to content

Angular directives marked as undefined while doc shown into the same popup #552

Closed

Description

@4javier

Every angular directive inside any template gets marked as undefined, but at the same time, its doc gets correctly shown on hover.
Schermata da 2020-11-01 00-06-46

Activity

  1. mickaelistria commented on Nov 25, 2020

    @mickaelistria
    Contributor

    Can you please provide a minimal project to reproduce the issue?

  2. 4javier commented on Nov 25, 2020

    @4javier
    Author

    @mickaelistria
    Simply clone, import and validate this basic project
    https://github.com/4javier/angular-ivy-base
    You'll be notified of 4 warnings in html, all due to to unknown tags (custom selectors) and undefined attributes (i.e. *ngIf directive)

  3. mickaelistria commented on Nov 25, 2020

    @mickaelistria
    Contributor

    Can you please try to install snapshot build from https://download.eclipse.org/wildwebdeveloper/snapshots/ ? It uses some more recent language server for Angular. I tried it locally and couldn't reproduce the issue you mention.

  4. 4javier commented on Nov 26, 2020

    @4javier
    Author

    Unfortunately SpringToolSuite doesn't let me upgrade the plugin. Maybe they blocked the version when they choose to include your software as default into their distribution.
    I tried the new snapshot on a fresh installation of vanilla Eclipse, and it seems to not mark angular directives as unrecognized anymore, but I didn't manage to find the exact version used by STS to cross check.
    If you agree I'd leave this ticket open until new language server lands on STS.

  5. mickaelistria commented on Nov 26, 2020

    @mickaelistria
    Contributor

    I prefer we close the ticket as it's been tested on vanilla Eclipse IDE; if issues happen in STS which don't happen in Eclipse IDE, those will have to be reported to STS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions