Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4javier opened this issue Oct 31, 2020 · 5 comments
Closed

Comments

@4javier
Copy link

4javier commented Oct 31, 2020

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

@mickaelistria
Copy link
Contributor

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

@4javier
Copy link
Author

4javier commented Nov 25, 2020

@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)

@mickaelistria
Copy link
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.

@4javier
Copy link
Author

4javier commented Nov 26, 2020

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.

@mickaelistria
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants