Dirk Boer
Dirk Boer

Reputation: 9095

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

Upvotes: 8

Views: 436

Answers (1)

Dirk Boer
Dirk Boer

Reputation: 9095

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.

Upvotes: 1

Related Questions