Thorsten Ball

Results 480 comments of Thorsten Ball

Okay, interesting! That makes me think the language server might be the cause here. Do the LSP logs show anything? If you open the command palette (`cmd+shift+p`) there's a `debug:...

Thanks! Okay, culprit found, I'd say. Seems like `svelte-language-server` and `tailwindcss-language-server` don't want to boot up in your project. I just created a new Svelte project (default stuff, from here:...

Oh, and another hail mary thing: do you have any Node files in your home directory? Like `~/node_modules`, `~/package.json`? Because that seems to be the cause for some language server...

Thanks! My current working hypothesis: we're doing something wrong when parsing log output from LSPs and somehow end up in an infinite loop, which causes the CPU usage. In order...

Okay, I have a possible fix in here: https://github.com/zed-industries/zed/pull/7229 I'm going to merge this in a minute, then you can try running on `main` (with tailwind commented in). You can...

Ah! Great to hear. So I think #7229 might then fix the CPU issue, but it will not fix the "language servers don't start" problem. > I also tried just...

Is your project really big by any chance? I do know that for some projects one needs to increase the memory limits of Node from the standard 512mb: https://gist.github.com/motss/f55b92ccab0d434fa6e6cfd07423014b I'm...

@mpfaff what version of Zed are you on? Can you reproduce this with a sample Zig project?

@noahlh sorry for dropping the ball on this! So I think what I'd try is to modify the Tailwind/Svelte language servers to run Node with some arguments. For example, here's...

> It seems to happen only while I'm editing code, and not constantly. I would imagine it's some specific change to the file that is causing the problem, but I...