Skip to content

bug: IntelliSense is broken for v18 in both VSCode and Visual Studio #29537

@IliaPodolko

Description

@IliaPodolko

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

17

Description

Installation of angular/material v18 breaks IntelliSense/Suggestions for some types from node_modules in VSCode and VS. I tried the same repo steps using angular v17 and everything works fine.

Reproduction

Repo with this error https://github.com/IliaPodolko/vscode-imports
Steps to reproduce:

  1. Create new angular app
    ng new my-angular-project
  2. Go to app.component.ts and try add FormsModule, you will see suggestions
  3. Install material
    npm install @angular/material
  4. Go to app.component.ts and try add FormsModule, you will NOT see suggestions
  5. Uninstall @angular/material and restart VSCode and after that suggestions work again.

Expected Behavior

User should see suggestions in VS and VSCode
image

Actual Behavior

User does not see suggestions in VS and VSCode when using angular v18 with angular/material
1

Environment

  • Angular: 18.1.3 / also tried 18..0.0 - same issue
  • CDK/Material: 18.1.3
  • Operating System: Windows_NT x64 10.0.19045
  • VS: 17.9.7
  • VSCode: 1.92.0 (2024-07-31T23:26:45.634Z)
  • Node: 18.20.2, also tried with v20 on another PC - same issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions