[英]Hide Properties for Ctrl+Comma (Navigate to) in Visual Studio?
I'm a big fan of the Navigate to window (Ctrl + Comma) to navigate to classes and files. 我非常喜欢“导航到”窗口(Ctrl +逗号)来导航到类和文件。
Problem for me is that it also shows Properties , Fields and Methods that match your keyword. 对我来说,问题在于它还会显示与关键字匹配的Properties , Fields和Methods 。
In a large codebase that means the navigate to window is flooded with members while I'm mainly using this to look for Classes . 在大型代码库中,这意味着导航到窗口时会充斥着成员,而我主要是用它来查找Classs 。
Question: 题:
Is it possible to hide Properties and other Members in the 'Navigate to' window? 是否可以在“导航到”窗口中隐藏属性和其他成员?
I've looked into Settings but with no luck to this moment. 我已经调查了“设置”,但目前还没有运气。
Note: I'm not using Resharper and looking for a Visual Studio native solution 注意:我不是在使用Resharper,而是在寻找Visual Studio本机解决方案
In Visual Studio 2017 they've added a really useful feature where you can type an 'f' in front of your search to only look for files. 在Visual Studio 2017中,他们添加了一个非常有用的功能,您可以在搜索前键入'f'仅查找文件。
Like: f banana pancakes
searches for only files with banana pancakes. 像:
f banana pancakes
仅搜索包含香蕉煎饼的文件。 You can also use t
for types and there are some other really good new options. 您也可以将
t
用于类型,还有其他一些非常好的新选项。
This is available also for the community edition. 这对于社区版也可用。 If you're using an older version of Visual Studio I recommend taking the effort to upgrade.
如果您使用的是Visual Studio的旧版本,建议您花大力气进行升级。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.