Closed
Description
When you add folders configuration to .code-workspace
file in a monorepo, VS Code's IntelliSense gets stuck in an infinite loop of loading suggestions, causing high CPU usage and slow performance.
Tailwind v4 with extenstion: latest v0.14.17 (v0.14.16 no problem)
Reproduction URL
https://github.com/reslear/my-turborepo-tailwind-issue
- Create a monorepo project
- Add
.code-workspace
file with folders configuration:
{
"folders": [
{
"path": ".."
},
{
"name": "ui",
"path": "../packages/ui"
},
{
"name": "web",
"path": "../apps/web"
}
],
"settings": {}
}
- Open the workspace in VS Code
- Go to folder, and open any file with classes
- Try to see code suggestions (IntelliSense)
- Watch VS Code get stuck loading suggestions forever
Same with config:
"tailwindCSS.experimental.configFile": {
"../apps/storybook/src/globals.css": "../apps/storybook/src/**",
},