You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer using Vite, I want to have VSCode's auto import/complete features working correctly when using pnpm as the package manager, so that I can improve the development experience.
It's not the silver bullet apparently, even I have set the preserveSymlinks to true, some variables' types are still not recognized, like the css prop from the @emotion/react in my case.
@pot-code can you try reloading the window (e.g. Ctrl + Shift + P > Developer: Reload Window) or restarting the Typescript server (e.g. Ctrl + Shift + P > TypeScript: Restart TS Server)? It seems to be working fine for me, see the picture below:
Clear and concise description of the problem
As a developer using Vite, I want to have VSCode's auto import/complete features working correctly when using
pnpm
as the package manager, so that I can improve the development experience.Suggested solution
Set preserveSymlinks option to
true
by default in thetsconfig.json
file when scaffolding a new project.Alternative
No response
Additional context
For more context, see the issue I created in
pnpm
's repository.Validations
The text was updated successfully, but these errors were encountered: