开发者

Display inherited methods and properties in Visual Studio

开发者 https://www.devze.com 2022-12-19 05:14 出处:网络
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

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

精彩评论

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