Random High CPU Usage

first you need to find which process eating your cpu, for that vscode has inbuilt process Explorer. You can find at Help => Open Process Explorer

For me the culprit is electron_node tsserver.js,
I solved it by turning on the typescript.disableAutomaticTypeAcquisition, for that you need to go Settings => Extensions => TypeScript and check the Typescript: disable Automatic Type Acquisition

Leave a Comment