是否可以关闭Visual Studio垂直滚动条中的灰色“潜在修复”指示?

问题描述 投票:0回答:2

在Visual Studio .NET / C#中,有一个灰色矩形指示器,告诉我我的代码有“可能的修复”建议。我发现这令人分心。有什么办法可以关闭此特定指示器?

下面给出了两个示例,它们具有不同的条形。

enter image description here

enter image description here

c# .net workflow vs-2019
2个回答
0
投票

在Visual Studio中,转到工具>选项>文本编辑器>所有语言>滚动条>取消选中“在垂直滚动条上显示注释”,就可以完成。

注释有多种类型,例如更改,错误等。您可以取消选中特定类型或全部注释。


0
投票
Go to Debug->Options->Text Editor-> All Language-> Scroll Bars

Then Check and uncheckn Show horizontal scroll bar and Show Vertical bar

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/TQ2wQ.png
© www.soinside.com 2019 - 2024. All rights reserved.