简体   繁体   English

在Visual Studio中隐藏Ctrl +逗号(导航至)的属性?

[英]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. 对我来说,问题在于它还会显示与关键字匹配的PropertiesFieldsMethods

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.

相关问题 在 Visual Studio 中导航到(CTRL + 逗号)不起作用 - Navigate To (CTRL + comma) in Visual Studio does not work Microsoft Visual Studio 2012-导航到(Ctrl +逗号)快捷方式不使用所选文本 - Microsoft Visual Studio 2012 - Navigate To (Ctrl + comma) shortcut not using selected text 在 Visual Studio 扩展中实现“导航到定义”(Ctrl+单击) - Implement “Navigate To Definition” (Ctrl+Click) in Visual Studio extension 使用 ctrl-j 和 ctrl-k 在 Visual Studio 中导航菜单 - Use ctrl-j and ctrl-k to navigate menus in Visual studio Visual Studio 2015:Ctrl + Shift + 8(View.PopBrowseContext)导航回不起作用? - Visual Studio 2015: Ctrl+Shift+8 (View.PopBrowseContext) to navigate back not working? Visual Studio扩展Ctrl + K,Ctrl + D. - Visual Studio Extending Ctrl + K, Ctrl + D 从Visual Studio Designer /属性窗口中隐藏继承的公共属性 - Hide Inherited Public Property from Visual Studio Designer / Properties Window Visual Studio Express,如何隐藏诸如函数之类的对象属性 - Visual Studio Express, How to hide object properties like functions Visual Studio-在设计视图中显示属性窗口,但在代码视图中隐藏 - Visual Studio - Show properties window in design view but hide in code view 导航到 Visual Studio 中覆盖的函数 - Navigate to the function that is overriden in Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM