Alex Akshaj Mody
Alex Akshaj Mody

Reputation: 91

How to resolve VScode terminal lag / choppiness when typing?

Not sure if this is from Big Sur, installing the Docker extension or what else it could be but in the last week, I have noticed that when typing in the VScode terminal, every single time that I've done my git add. , git commit -m "etc", git push origin master, there is always once or twice where the terminal visually shows that I'm not typing anything for a brief moment. It essentially lags and shows the typing white square icon and in 1 second after a brief "pause" what I was actually typing appears as normal. This happens intermittently and even after removing the Docker addon and making my VScode settings as:

"terminal.integrated.allowChords": false, "terminal.integrated.drawBoldTextInBrightColors": false, "terminal.integrated.experimentalLinkProvider": false, "terminal.integrated.rendererType": "auto"

I still notice that there is this random 1 second pausing and choppiness when typing that happens. Is there a solution to this? I did not experience this for the full past year that I used this MBP 2019 16inch and it only just recently started.

Upvotes: 3

Views: 12229

Answers (2)

Ryan Hass
Ryan Hass

Reputation: 1

Try this in your settings.json:

"terminal.integrated.gpuAcceleration": "canvas"

If that doesn't help then try:

"terminal.integrated.gpuAcceleration": "off"

Upvotes: 0

Mark
Mark

Reputation: 181429

See this issue: https://github.com/microsoft/vscode/issues/105446

As reported there, running

codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app

in the terminal and then reloading vscode seems to fix the issue for many people.

Upvotes: 7

Related Questions