Resharper: how to see only particular group of members

烂漫一生 提交于 2019-12-11 16:08:51

问题


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

Eg DPack can do that by alt-p (props), alt-m (methods)


回答1:


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.



来源:https://stackoverflow.com/questions/1470414/resharper-how-to-see-only-particular-group-of-members

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!