Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search File Or Class quickly from the solution In VS?

If there are lots of projects in one solution and each of them has lots of .cs file. Also, there might be one more classes in one file.

So, what I want to ask is: How can I find a file or a class quickly?

I really don't like use the ctrl+F every time.

Is there any plugin like if I click the CTRL+SHIFT+R it will open a window of show a class list or a file list and I can input the keyword what I'd like to find.

Then, when I double click the result, the file will be opened for me.

like image 870
shenhengbin Avatar asked Dec 10 '22 07:12

shenhengbin


2 Answers

In VS2010 at least, there is the Navigate To feature. It indexes file names, classes, and methods for quick searching. Hit Ctrl+, (comma) to bring up the dialog:

enter image description here

Also, if you don't mind paying (and getting additional features), there is Visual Assist X and ReSharper, both of which I believe support VS2008/VS2010 and have source navigation features.

like image 156
Chris Schmich Avatar answered Jan 22 '23 06:01

Chris Schmich


You can try out the "Productivity Power Tools" extension for VS2010. It adds a new menu called "Solution Navigator", which has a search box with autosuggest, that enables searching your solution.

it has lots of other features and I highly recommend it.

like image 24
lysergic-acid Avatar answered Jan 22 '23 04:01

lysergic-acid