36

How can I assign a keyboard shortcut to the "Find All" button of the Quick Find function in Visual Studio 2013?

VS Find All

I can't find any command that would match this button next to the Edit.Find... commands:

VS Keyboard options

3
  • Did you try Edit.FindAllReferences? Shown in your image below Edit.Find
    – Jenn
    Commented Jun 26, 2014 at 21:15
  • 1
    @Jenn Yes, this is not what I'm looking for. This is searching for all symbol references.
    – Otiel
    Commented Jun 27, 2014 at 8:29
  • A suggestion to do this is "under review". You might like to upvote it here: developercommunity.visualstudio.com/t/…
    – franzo
    Commented Apr 20, 2022 at 23:58

3 Answers 3

44

I've been looking for the same exact thing! This isn't the best way but this is what I do:

Press Ctrl + Shift + F

Type Your Search

Press Alt + A (This performs a Find All)

2
  • 6
    I agree with the OPs decision not to mark this as accepted. By default this will find all in the entire solution. What the op is looking for is to find all in the current file. While you can still use the Find and Replace window and change the search scope to current document, this is no quicker than doing it via the quick find window. A shortcut to perform a search in the current document is different, and would be useful. I use them both.
    – Ian
    Commented Aug 4, 2016 at 23:25
  • 2
    @Ian the search scope can be changed once and stays changed. This is much quicker than using quick find
    – Welcor
    Commented Feb 5, 2020 at 12:19
5

I found it is easiest to re-assign Edit.FindinFiles to Alt + F then use Alt + A to press Find All on that dialog box:

Highlight the text

Press Alt + F

Press Alt + A

2

You're looking for Edit.FindinFiles

It will open a new window every time, but it will provide you with the exact same functionality you desire.

2
  • 1
    This is the same as proposed by @adamtoakley, and not this is not what I'm looking for. I want to use the Quick find window, and not the Find and replace window.
    – Otiel
    Commented Oct 28, 2015 at 14:16
  • Sadly I think Microsoft removed it as an option in favor of a new window. :/
    – JohnCena
    Commented Nov 5, 2015 at 1:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.