How to resolve VScode terminal lag / choppiness when typing?

最后都变了- 提交于 2021-01-04 05:40:22

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/65058429/how-to-resolve-vscode-terminal-lag-choppiness-when-typing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!