Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable tsserver for Visual Studio Code?

While editing a React project in Visual Studio Code (1.28.2, Mac OS 10.14, all extensions disabled), the entire system often slows to a crawl. It's not clear what triggers this, but it's seems to be just normal text editing.

Usually when I look in VSCode's Process Explorer, the electron_node tsserver.js process is using the most CPU.

Is it possible to disable whatever it is that makes this process run? I don't mind losing features; I just want to be able to edit files.

like image 320
JW. Avatar asked Oct 22 '18 18:10

JW.


People also ask

How do I disable TypeScript errors in VS Code?

As per here, you can disable built-in extensions in VSCode now. In the Extensions tab on the left (Ctrl+Shift+X), search for @builtin + JavaScript / TypeScript . Then click the little gear icon next to an Extension and click Disable .

How do I disable pop up code in Visual Studio?

Type “editor. hover. enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.


1 Answers

Disable the "TypeScript and JavaScript Language Features" built-in extension to Visual Studio Code (for your current workspace or globally, as you desire). You can find this extension by going to the extension manager, selecting "Show Built-in Extensions" from the "..." menu, and looking in the "Features" section.

like image 55
Matt McCutchen Avatar answered Sep 20 '22 17:09

Matt McCutchen