开发者

Visual Studio: Missing Ctrl+O+O, Ctrl+T Eclipse analog

I very like Eclipse Ctrl+O+O hotkey which includes in the list of members not only members of current class, but also all the members of all super-classes. "Quick type hiererchy" feature also is pretty useful. Resharper has Alt + End开发者_运维问答 and Alt + Home keys, but it doesn't organize result in a tree what is very handy.

Is it possible to get mentioned functionality in VS?


ReSharper provides the Type Hierarchy window (ReSharper > Inspect > Type Hierarchy) for investigating inheritance.

File Structure (ReSharper > Windows > File Structure) is ReSharper's version of Outline, and it could be what you're looking for.

Alternatively, you can step on the name of a superclass or interface being implemented in the type declaration, invoke ReSharper > Navigate > Navigate to, and choose Implementing members - it will highlight you all members from the given interface that are implemented in the current class, and you can navigate between the highlights.

If you tell me more about your usage scenario, i.e. what task you're trying to solve with an analog of Ctrl+O+O, I could advise you how to solve this task with ReSharper.

UPDATE:

ReSharper 6 (pre-release builds of which can be found here) provides a feature that corresponds to your usage scenario. In a file containing a class from an hierarchy, press Ctrl+F12 (IntelliJ IDEA keymap) to invoke "Go to File Members". Then, press Alt followed by Space to switch on the "Include members from related files" feature. This will show you any members in types up the inheritance hierarchy. You can flush results to the Find Results window by pressing +, and group them in a preferred way:

Visual Studio: Missing Ctrl+O+O, Ctrl+T Eclipse analog

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜