打字时如何解决 VScode 终端滞后/断断续续? [英] How to resolve VScode terminal lag / choppiness when typing?

查看:124
本文介绍了打字时如何解决 VScode 终端滞后/断断续续?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定这是否来自 Big Sur,安装了 Docker 扩展或其他可能是什么,但在上周,我注意到在 VScode 终端中输入时,每次我完成我的 git add., git commit -m "etc", git push origin master,总会有一两次终端在视觉上显示我暂时没有输入任何内容.它基本上滞后并显示打字白色方形图标,并在短暂的暂停"后 1 秒内显示.我实际输入的内容显示正常.这会间歇性地发生,甚至在删除 Docker 插件并将我的 VScode 设置设为:

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":;自动

我仍然注意到打字时会出现这种随机的 1 秒停顿和断断续续的情况.这个问题有方法解决吗?在过去的整整一年里,我都没有经历过这种情况,因为我使用了这款 MBP 2019 16 英寸,它只是最近才开始使用.

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.

推荐答案

请参阅此问题:https://github.com/microsoft/vscode/issues/105446

据报道,正在运行

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

在终端中然后重新加载 vscode 似乎解决了很多人的问题.

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

这篇关于打字时如何解决 VScode 终端滞后/断断续续?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆