tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

bradlc.vscode-tailwindcss-0.10.5 makes CPU go Brrrrrrrr

Open Newbie012 opened this issue 1 year ago • 0 comments

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!

Newbie012 avatar May 23 '24 15:05 Newbie012