visual-studio-2010 - Intellisense - 隐藏继承的成员?

标签 visual-studio-2010 intellisense

我和我的同事只是在讨论我们在 Visual Studio 中遇到的一个烦恼。如果您正在使用从另一个大类继承的类,例如 Controller ,您将在智能感知中拥有大量继承成员。有时,您只想查看自己定义的成员,而不必在大量其他事物中查找事物。

我想如果你正在寻找你定义的东西,你应该知道它叫什么。但是我知道当类(class)变得更复杂时我会遇到这种挫折。是否有内置的方法可以让智能感知隐藏继承的东西,或者是否有某个插件可以提供此功能?否则,我想我们中的一个人必须写它。

最佳答案

Visual Assist X有这样的特点。它允许您将继承的成员推送到列表的末尾等:

Access non-inherited entries quickly by having them listed first. Scroll to see entries from base classes.

Enable this feature in the options dialog. Use in combination with bolding of non-inherited members and shrinking for optimal efficiency.

This feature can also be enabled or disabled dynamically from the filtering toolbar.

关于visual-studio-2010 - Intellisense - 隐藏继承的成员?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6781409/

相关文章:

angular - Visual Studio 2015 RC3 TypeScript Intellisense 不再工作

c++ - 使用 SOIL 在 openGL 中显示图像

javascript - 如何在类库项目中启用Jscript智能感知(VS2010)

标准模板库 : <error-type>*? 的 C++ IntelliSense 错误

vb.net - Visual Studio 2013 VB 智能感知

visual-studio - Intellisense 不适用于 MS 测试文件

c++ - Visual Studio 2010 非常慢,无法使用

c++ - 里面有if的宏?

c# - 无法直观地更改继承形式的 DataGridView

typescript - 在 Visual Studio Code 中使用建议的方法参数