Skip to content

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

Closed
@reslear

Description

@reslear

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/**",
    },

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions