visual-studio - 这个图标在VS2019中是什么意思?

标签 visual-studio visual-studio-2019

VS2019 16.10.0
.netfx Winform 项目。
enter image description here

最佳答案

此图标显示继承链/边距,是在 Visual Studio 16.10 版中添加的。来自 16.10 release notes for Visual Studio :

There is now a visual representation for navigating and inspecting the inheritance chain. This option is off by default so you will need to turn it on in Tools > Options > Text Editor > C# > Advanced and select Show inheritance margin. Enabling inheritance margin will add new icons to the margins representing your code’s implementations and overrides. Clicking on the inheritance margin icon will display inheritance options that you can select to navigate to.
enter image description here


果然,如果你导航到工具菜单中的选项,它就在底部:
Inheritance margin
我会检查您的设置 - 默认情况下它应该关闭,这意味着它以某种方式为您打开。如果单击该图标,它应该显示继承链。如果不是,也许关闭并重新打开该选项,或者重新启动 Visual Studio(它显然是实验性的,因此可能会被窃听)。

关于visual-studio - 这个图标在VS2019中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67701424/

相关文章:

c++ - 按钮和 ON_MESSAGE

c++ - 添加静态库的链接器错误

visual-studio - Visual Studio社区版和伪造的框架?

windows - Visual Studio 2019 路径中的非法字符

c# - vs2019.9.2 对 undefined variable 使用属性模式时引发运行时错误并编译失败,这是预期的编译错误

c++ - 开源 Visual Studio 项目分发噩梦

c++ - 重载函数仅在返回类型上不同

wpf - 如何在构建时使 .dll 和其他文件远离更深文件夹中的 .exe 文件?

visual-studio-2019 - 软件包 Microsoft.AspNetCore.Components.WebAssembly 5.0.0 与 netstandard2.1 (.NETStandard,Version=v2.1) 不兼容

c++ - Visual Studio 2019 C++ CodeLens