Skip to content

Infinite loop of loading IntelliSense Issue in Monorepo folders .code-workspace #1371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
reslear opened this issue May 18, 2025 · 0 comments

Comments

@reslear
Copy link

reslear commented May 18, 2025

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.

Image

Tailwind v4 with extenstion: latest v0.14.17 (v0.14.16 no problem)

Reproduction URL

https://github.com/reslear/my-turborepo-tailwind-issue

  1. Create a monorepo project
  2. Add .code-workspace file with folders configuration:
{
	"folders": [
		{
			"path": ".."
		},
		{
			"name": "ui",
			"path": "../packages/ui"
		},
		{
			"name": "web",
			"path": "../apps/web"
		}
	],
	"settings": {}
}
  1. Open the workspace in VS Code
  2. Go to folder, and open any file with classes
  3. Try to see code suggestions (IntelliSense)
  4. Watch VS Code get stuck loading suggestions forever

Image

Same with config:

    "tailwindCSS.experimental.configFile": {
      "../apps/storybook/src/globals.css": "../apps/storybook/src/**",
    },
@reslear reslear changed the title infinity load colors in preview Infinite loop of loading IntelliSense Issue in Monorepo folders .code-workspace May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant