如何在Visual Studio中禁用差异对话框?

huangapple go评论72阅读模式
英文:

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

如何在Visual Studio中禁用差异对话框?

答案1

得分: 4

这是Line-staging支持,也被称为交互式暂存,要在发布后进行管理,您可以转到工具 > 选项 > 文本编辑器 > 高级 并将边距中的单击查看设置为关闭

您还可以将其设置为双击,以防止意外点击,但仍然可以使用该功能。

另请参阅:

英文:

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:

如何在Visual Studio中禁用差异对话框?

You also can set it to double-click to prevent accidental ones but still to have an ability to use the feature.

See also:

答案2

得分: 1

更新:

在我复制后,在VS2022 17.5.1中创建了一个本地的git存储库之后,点击将出现。

关闭它,可以禁用第三个选项。

你是否使用了任何插件?我在Visual Studio中没有看到这个窗口。

你不能点击右上角的X来关闭吗?

你可能想要移除这个功能,我认为你可以在扩展中移除它。

英文:

Update:

如何在Visual Studio中禁用差异对话框?

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.

如何在Visual Studio中禁用差异对话框?


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?

如何在Visual Studio中禁用差异对话框?

You probably want to remove this feature, I think you can remove it in the extension.

如何在Visual Studio中禁用差异对话框?

huangapple
  • 本文由 发表于 2023年3月1日 10:44:55
  • 转载请务必保留本文链接:https://go.coder-hub.com/75599134.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定