VSCode (Code Helper) JS CPU usage spikes whenever I make any edit in editor

1.6k Views Asked by At

(M2 MacBook Air 16GB, VSCode 1.76.0, macOS 13.2.1)

I'm working in a NextJS project in VSCode, and have been experiencing annoying and disruptive issues all of the time, when the JS/TS Language Features extension is enabled.

With this issue, whenever I make an edit in a JS file, Code Helper's CPU usage spikes, to perhaps 70-100% and with it CPU temperatures. Even actions as simple as literally typing a comma cause my temps to rise from their stable 30-35C to over 50C. This subsequently causes battery drain, simply from typing characters, nothing complex, which is very disruptive.

So far I have tried disabling the JS/TS Language Features extension (which stops the CPU spikes, but essentially turns VSCode into a colourful TextEdit), as well as setting TS disable auto type acquisition to true, to no luck. My jsconfig.json and tsconfig.json are not present, as per default.

Any ideas on why this could be happening?

0

There are 0 best solutions below