ReSharper的:怎么看的成员只有特定的组 [英] Resharper: how to see only particular group of members
问题描述
我使用快捷键Alt + \列出文件的所有成员。
它是一种只列出成员的指定类型(属性,方法,字段...)
I'm using shortcut alt+\ to list all members in file.
Is it a way to list only specified type of members (properties, methods, fields ...)
有时候,这是非常有用的。
Sometime this is very useful
例如DPACK可以做到这一点的ALT-P(道具),ALT-M(方法)
Eg DPack can do that by alt-p (props), alt-m (methods)
推荐答案
我一般做的是使用 Regionerate 一>基于成员类型添加区域(它的高度可配置)。从那以后,我可以开ReSharper的文件结构窗口中看到由地区组织的成员。该区域可以独立于文件结构窗口将崩溃。
What I generally do is use Regionerate to add regions based on member types (it's highly configurable). After that I can open ReSharper's File Structure Window to see the members organized by region. The regions can be collapsed independently in the File Structure Window.
这篇关于ReSharper的:怎么看的成员只有特定的组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!