[EN] VS Code CPU 100% Usage Fix

If you have problems with your VS Code that uses over 100% of CPU on Windows or 30–40% on Linux, I may have a solution for you. The problem causing this is often TSServer. And with small edit in settings, you can get to 1–5% CPU on Large projects as I have. Just go to settings.json and add these lines:

"files.useExperimentalFileWatcher": false,
"typescript.validate.enable": false,
"javascript.validate.enable": false,
"files.watcherExclude": {
"**": true
}

This solution is a little aggressive, but it is going to help a lot, and it’s better than VS Code taking all your CPU power.

--

--

--

Software Engineer at Price f(x) 👨🏻‍💻 — Remote Worker. JavaScript, React, Linux, PCMR, 3D Print, Low-cost Travel

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

[Resource Center 1] Entrance and basic menus

How to Integrate Rest Assured Test Framework for an Existing Git Repo With a Basic Rest Assured…

100 Days Full-Stack Challenge

Why You Should Start With JavaScript

AWS CSA TASK-2

Verus on mobile phones

My first week as a full-time developer

KWOC | Kharagpur Winter Of Code Project Report

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin Kaše

Martin Kaše

Software Engineer at Price f(x) 👨🏻‍💻 — Remote Worker. JavaScript, React, Linux, PCMR, 3D Print, Low-cost Travel

More from Medium

Make Your Code Glow on VS Code

How to connect to a MySQL database using C# and WindowsForms

Quick and dirty: Setting up your console env and SSH keys for GitHub

No code tools