Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vs code: incredibly laggy terminal (on mac)

using the latest vs code, on a new installation, with only 1 plugin (which i know not to be causing the problem, since i have repeated the whole thing with another plugin; same issue) on a mac also using the latest catalina os.

issue:

writing a couple of pages (2 or 3) to the terminal, either from the terminal itself or from within the plugin, the terminal becomes unbearably slow, scrolling up or down freezes it entirely.

i found some previous links talking about this issue, but they are with older versions of vs code, and the responses have always been "this is now fixed in version xxx".

question:

is there some general setting in vs code that will prevent this?

or do you just have to wait for the next "updating", the next "breaking", the next "updating", etc?

like image 412
mrchance Avatar asked Sep 23 '20 16:09

mrchance


People also ask

Why is my VS Code terminal slow?

VS Code has trouble with GPU (graphics processing unit) hardware acceleration on some systems. You can see if this is the case by disabling GPU acceleration. To set this permanently, do the following: Open the Command Palette (Ctrl+Shift+P).

Why is my VS Code lagging so much?

Check your CPU Consumption The VS Code wiki recommends checking your CPU consumption to see if a process called "extensionHost" is taking up a lot of processing power. If this is the case, it is likely that an extension is causing your problem. You can read more about this on the VS Code wiki.

How do I run VS Code in terminal Mac?

Launching from the command line You can also run VS Code from the terminal by typing 'code' after adding it to the path: Launch VS Code. Open the Command Palette (Cmd+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.


1 Answers

Try this, now my terminal works faster also in Big Sur:

codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app
like image 109
Rey Avatar answered Sep 23 '22 04:09

Rey