microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.56k stars 29.01k forks source link

TS Server high CPU usage (Intellisense and typescript features stop working) #231656

Open thomscoder opened 1 day ago

thomscoder commented 1 day ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

Opening a fairly large typescript project (in my case React-typescript project) and switching between files, the Intellisense stops working. Gets stuck on Analyzing FILE_NAME and its dependencies, Macbook heats up.

electron-nodejs (tsserver.js) process exceeds the 100% CPU usage and does not get lower than 80% in background.

Image

ps aux returns (on another instance)

Image

Diniden commented 17 hours ago

Same issue for me. It's preventing intellisense from showing results at all.

Image

I am also on an M1 Mac.

Of note: I disabled all extensions and I still have the same issue.