开发者

Display inherited methods and properties in Visual Studio

Are there any options or plugins that display inherited members (methods/properties) inline when editing a class file in Visual Studio? The inherited code would probably be disabled/grayed out, but it seems like it could be useful and interesting to have the option to view an entire composed class at once开发者_JAVA技巧.


For those who want to see only available properties/methods, not their inner code:

To see all properties, you can just press Ctrl+Space inside any method, and filter results depending on what you need. On screenshot only Properties are displayed - bold are class's own properties, and normal are inherited.

Display inherited methods and properties in Visual Studio


Ahha, I remember what I was thinking of now. Take a look at ReSharper.

Example:

Display inherited methods and properties in Visual Studio


(source: jetbrains.com)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜