英文:
How do I disable the diff dialog in Visual Studio?
问题
如何关闭我误点击装订线时出现的恼人的差异弹出窗口?感谢。
英文:
Does anyone know how I can turn off this annoying Diff popup that appears when I accidentally click the gutter?
Thanks
答案1
得分: 4
这是Line-staging支持,也被称为交互式暂存,要在发布后进行管理,您可以转到工具
> 选项
> 文本编辑器
> 高级
并将边距中的单击查看
设置为关闭
:
您还可以将其设置为双击,以防止意外点击,但仍然可以使用该功能。
另请参阅:
-
在Visual Studio中暂存代码行 文档(特别是查看差异支持 部分)
英文:
This is Line-staging support, also known as interactive staging, to manage it after it was released you can go to Tools
> Options
> Text Editor
> Advanced
and set Click to peek in margin
to Off
:
You also can set it to double-click to prevent accidental ones but still to have an ability to use the feature.
See also:
-
Stage lines of code in Visual Studio doc (especially tips in Peek Difference support section)
答案2
得分: 1
更新:
在我复制后,在VS2022 17.5.1中创建了一个本地的git存储库之后,点击将出现。
关闭它,可以禁用第三个选项。
你是否使用了任何插件?我在Visual Studio中没有看到这个窗口。
你不能点击右上角的X来关闭吗?
你可能想要移除这个功能,我认为你可以在扩展中移除它。
英文:
Update:
After my reproduction, after I created a local git repository in VS2022 17.5.1, the click will appear.
Disable the third option to close it.
Are you using any plugins? I haven't seen this window in Visual Studio.
Can't you click the X in the upper right corner of the picture to close it?
You probably want to remove this feature, I think you can remove it in the extension.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论