🐞 bug report
Is this a regression?
Yes and no. This still works for Angular < 12. Also it seems to be similar to issue: #1109
However, i never got a setup that worked for Angular 13.
Description
A clear and concise description of the problem...
I am using recent Visual Studio code and it works ok with Angular 12, however, for Angular 13 projects all my custom components that are under *ngIf DOM element can not be navigated to. I can not navigate to them to using CTRL + mouse click. Also right click and Go to definition tells me "No definition found".
I have read this issue thread and I tried setting "angular.experimental-ivy": false in my Visual Studio code, but to no avail.
I am using Visual Studio Code on Ubuntu with the following versions:
Version: 1.62.3
Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
Date: 2021-11-17T08:00:36.721Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.4.0-90-generic snap
The Angular I tried using is 13.0.1.
Bug Type
What does this bug affect
Reproduction
Steps to reproduce the behavior:
- Load whatever Angular 13 project in Visual Studio Code
- Open any HTML file with
*ngIf protected DOM element
- Try navigating (e.g. with CTRL + mouse click) to any element listed under it: either custom component or template varible
- Nothing will happen.
- Right click ->
Go to definition triggers "No definition found for"
Expected behavior
The navigation should work as for older angular versions
🌍 Your Environment
Angular Version:
VSCode Version:
Operating System:
Linux x64 5.4.0-90-generic snap
Extension options:
"angular.experimental-ivy": false