Open jdoss opened 5 months ago
Looks like Dev Container's had a similar issue that they fixed / worked around: https://github.com/microsoft/vscode-remote-release/issues/9738
It's not open source (that I can see) so I don't know exactly what they did to fix it but one of the comments gave me potential ideas to go on. I'll see what I can come up with.
Thanks for reporting this!
Okay so a couple of questions:
rg
command from ps
and run it yourself in the same working directory without the --follow
flag does it complete quickly?You're on an NVMe SSD so I doubt drive speed is not even remotely in play here. I wonder if Docker is doing something weird with those directories that causes directory listing and/or other file operations to slow down.
I think I've found something similar in my project. It's a Python data project that as part of normal operation will install tens or hundreds of node projects. There's no tailwind install or config in the project root though, is there a sensible way I can disable it? I have the plugin installed for other projects I work on 😃
i think i have a similar problem. I noticed when my laptop suddenly started crashing. When i looked into my processes:
I'm using v0.0.24
with neovim (btw).
I just opened a index.vue
file in an empty folder.
same here
Same issue
What version of VS Code are you using?
What version of Tailwind CSS IntelliSense are you using?
v0.10.5
What version of Tailwind CSS are you using?
No tailwind in my current project.
What package manager are you using?
n/a
What operating system are you using?
Fedora Linux 40 with
/home
as a BTRFS subvolume on a local NVMe drive.Tailwind config
N/A
VS Code settings
Describe your issue
If I enable the tailwindcss-intellisense extension and launch VS Code in a project directory that does not have any TailwindCSS code (AFAIK) the extension spawns a
rg
process that uses 1000%+ CPU.This project is an private one that I use to manage container apps on my workstation. It has a data directory that container applications like home assistant, paperless, gitea etc use as volume mounts.
Some of these projects do have
.ts
and.js
files in this directory so maybe it is choking on watching all of those files? Maybe the extension should check for a tailwind config and only spawn therg
process if it knows that TailwindCSS is being used in the project root?