vscode: Typescript Intellisense slow when using yarn workspaces
- VSCode Version: 1.33.1 (User)
- OS Version: Window 10
Steps to Reproduce:
- Created a simple Yarn workspaces project with nextjs
- Intellisese was way too slow
- Disabled all extensions. No improvement.
- Reinstalled VSCode. Still, no improvement.
- Switched to another project (Large project without Yarn Workspaces): Intellisense worked perfectly.
I used to work on a project with Lerna and was not having this kind of issue. Maybe is a yarn related issue?
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 17
- Comments: 18 (5 by maintainers)
Our whole team experiences very slow indexing, autocompletion and code hinting for our TypeScript next.js project since updating to VSCode 1.33.1 as well. It worked multiple times faster in the previous version of VSCode. Something is wrong.
@Bobvantpadje Did you try updating to the latest @types/styled-components? see DefinitelyTyped/DefinitelyTyped#34391
We’re having the same issue. For us it’s related to
@types/styled-components
. If we remove this package or rollback to VSCode 1.30 the intellisense is fast again.When you changed repo structure, is it possible that you also installed a newer version of
@types/styled-components
. See DefinitelyTyped/DefinitelyTyped#34391 for a possible root cause of this