Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Go To / Navigate To / Search Solution Explorer - does not search on file path

I don't know if this happened in the latest update or that I accidently hit a shortcut, but when I try Go To (CTRL+Comma) the keywords don't filter on the path of the file anymore.

This is a big problem because a lot of Html files are called i.e. Index.cshtml but are in a relevant folder.

Areas\Competitions\Views\Graph\Index.cshtml
Areas\Competitions\Views\Teams\Index.cshtml
Areas\Competitions\Views\Athletes\Index.cshtml

When I search for "index graph html" it returns empty. Is this a newly introduced bug/feature or did I accidently hit some strange setting?

enter image description here

UPDATE

I found that it searches for OR the path OR the file name.

I have version VisualStudio.15.Release/15.3.3+26730.12. Can anyone tell me if they have this version and also this bug?

I can't download any older versions from the website.

I've filled in a bug report with Microsoft, but they just tell me that this 'issue will not be addressed in the upcoming release'. After that no response anymore.

As this is a huge productivity killer I need to know if I need to look for alternatives.

like image 899
Dirk Boer Avatar asked Oct 18 '22 06:10

Dirk Boer


1 Answers

To filter your files in Visual Studio, you can use Ctrl + , and other alternatives that are:

  • Filter your files with path by pressing shortcut keys Ctrl + Alt + a will open VS's CMD and then type "open youfilename" like:

    enter image description here

  • Use hotkeys Ctrl + ; in Solution Explorer search bar or you can simply click on it and type searched keywords.

    enter image description here

  • Install a add-in ReSharper in your VS and by installing you can analyze or filter your code or files.
    • Press Ctrl + Shift + T a popup will appear and you can start searching there like: enter image description here
like image 93
youpilat13 Avatar answered Oct 21 '22 00:10

youpilat13