在Visual Studio中隐藏Ctrl +逗号(导航至)的属性? [英] Hide Properties for Ctrl+Comma (Navigate to) in Visual Studio?

查看:270
本文介绍了在Visual Studio中隐藏Ctrl +逗号(导航至)的属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是导航到"窗口(Ctrl +逗号)来导航到类和文件的忠实粉丝.

对我来说问题是它还会显示与您的关键字匹配的属性字段方法.

在大型代码库中,这意味着成员充斥着窗口导航,而我主要是用它来查找.

问题:

是否可以在导航至"窗口中隐藏属性和其他成员?

我已经查看了设置",但目前还没有运气.

注意:我不是在使用Resharper,而是在寻找Visual Studio本机解决方案

解决方案

在Visual Studio 2017中,他们添加了一个非常有用的功能,您可以在搜索前键入'f'来仅查找文件.

类似:f banana pancakes仅搜索带有香蕉煎饼的文件.您还可以将t用于类型,还有其他一些非常好的新选项.

这也可用于社区版.如果您使用的是Visual Studio的旧版本,建议您花大力气进行升级.

I'm a big fan of the Navigate to window (Ctrl + Comma) to navigate to classes and files.

Problem for me is that it also shows Properties, Fields and Methods that match your keyword.

In a large codebase that means the navigate to window is flooded with members while I'm mainly using this to look for Classes.

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

解决方案

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.

Like: f banana pancakes searches for only files with banana pancakes. You can also use t for types and there are some other really good new options.

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中隐藏Ctrl +逗号(导航至)的属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆