Closed maayanzrihann closed 3 weeks ago
Hi!
Can you please provide a minimal reproduction repo so that I can investigate this further?
I think material breaks all import suggestions from node_modules in VSCode
Use repo https://github.com/IliaPodolko/vscode-imports or use 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
angular cli v18.1.3 node v18.20.2
Visual Studio Code Details below Version: 1.91.1 (user setup) Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:06:49.809Z (3 wks ago) Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.19045
Created ticket here https://github.com/angular/components/issues/29537
This issue has been automatically marked as stale because no reproduction was provided within 7 days. Please help us help you. Providing a repository exhibiting the issue helps us diagnose and fix the issue. Any time that we spend reproducing this issue is time taken away from addressing this issue and other issues. This issue will be closed in 21 days if a reproduction is not provided. If a reproduction has been provided, please reply to keep it active. Thanks for being a part of the Nx community! 🙏
Closing as a solution was found in https://github.com/angular/components/issues/29537
Current Behavior
Auto suggest imports for angular material such as MatTab , MatCheckBox module .. not working in vscode
Using![image](https://github.com/user-attachments/assets/c673c973-ace9-4be5-ac94-53207c5d1d61)
"@nx/angular": "19.4.1"
with"@angular/material": "~18.1.0"
in angular monorepo.The import itself works as expected i imported manually like here:![image](https://github.com/user-attachments/assets/44f0f07c-ef10-43e1-98e7-fdf7931c51c9)
Expected Behavior
vscode should auto suggests all node_modules libs including all of
@angular/material/*
GitHub Repo
No response
Steps to Reproduce
tsconfig.base.json :
.settings.json for vscode:
package json:
Nx Report
Failure Logs
No response
Package Manager Version
10.7.0
Operating System
Additional Information