Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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

like image 831
Dirk Boer Avatar asked Oct 12 '15 12:10

Dirk Boer


1 Answers

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.

like image 59
Dirk Boer Avatar answered Oct 02 '22 13:10

Dirk Boer