Skip to content

bradlc.vscode-tailwindcss-0.10.5 makes CPU go Brrrrrrrr #973

Closed
@Newbie012

Description

@Newbie012

What version of Tailwind CSS are you using?

3.4.3

What build tool (or framework if it abstracts the build tool) are you using?

postcss 8.4.38

What version of Node.js are you using?

v20.10.0

What browser are you using?

N/A

What operating system are you using?

macOS

Reproduction URL

https://github.com/Newbie012/bug-tailwindcss-cpu

Describe your issue

I have a file with a lot of tailwind classes. Whenever I open it, the tailwind (vscode) extension freezes. You can see in the screenshot 2 processes (it opens a new one without closing the previous process every time I restart vscode) that points to the vscode extension.

image

Steps to Reproduce

  1. Clone the repository - https://github.com/Newbie012/bug-tailwindcss-cpu
  2. Run pnpm install
  3. Make sure your Activity Monitor is open.
  4. Open component.ts
  5. Try to hover on classes, you'll see "Loading...". Open Activity Monitor and see how "Code Helper" skyrocket to 99%~ CPU.

Please let me know if I missed any details so I can share it.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions