Get a list of search results in Visual Studio

2020-03-10 05:22发布

问题:

Does anyone know of a way to get an entire list of search results in Visual Studio, or an extension that can do the same? Normally, when using the search box, the next found item is highlighted as you go, which is nice, but sometimes it would be more useful to see an entire list of results, similar what you would get in Bing or Google. I know that there is 'Find Symbol' but that doesn't seem to account for things you would find in comments, etc. Any ideas?

回答1:

Use 'Find in Files' (ctrl+shift+f) instead of 'Find' (ctrl+f)

edit: As Jay mentions in comments, you can also get there via the 'Find' dialog if you change 'Quick Find' to 'Find in Files' using the selector in the upper left corner of the dialog.