How to fix auto-imports of internal packages in a monorepo (VSCode)
#Monorepo#VSCode#TypeScript
If you work in a monorepo and notice that VSCode stops suggesting auto-imports for internal packages (especially when there are many dependencies), this is likely a performance optimization by the editor.
To fix this and enable auto-imports for all internal packages, add the following line to your workspace .vscode/settings.json
:
"typescript.preferences.includePackageJsonAutoImports": "on"