简体   繁体   中英

Visual Studio 2010/Resharper - Intellisense by Class?

I have an Animal class which my Cat class inherits.

When I hover over a cat instance or press CTRL + Space to see a full list, I wish to see only cat methods and properties first, then animal ones after instead of all properties and methods in one big alphabetical list.

MonoDevelop does this with a second CTRL + Space key press and is very handy.

Does Visual Studio 2010 or Resharper have this type of capability?

Visual Studio 2010 does not support such functionality. Anyway, since 2008 it is a big improvement that you do not need to type the name starting from its beginning.... ;-)

As far as I know, resharper does not have exactly the same mode too. However it is far more intelligent and configurable. There are also different key combination you can use for different types of completion.

You can read more about Code Assistance features here

Anyway, check the trial version before buying to be sure that it suits you. You can check also other comprehensive extensions like CodeRush Pro, etc.

ReSharper displays Cat's members in bold font and inherited members in regular font. So you see the difference.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM