25

In Sublime Text et al, you can type Control-P to do an incremental file search.

In Visual Studio 2010:

Control-i does incremental text search

Control-, does incremental symbol search

Control-Shift-f, does Find All Files

What I would like is an incremental version of Control-Shift-F.

Does such a thing exist?

1
  • You've found decent answers for any file in the project, but I really want fuzzy filtering for any currently open file/buffer. CTRL-TAB/CTRL-SHIFT-TAB is pretty bad, really. Sometimes.
    – shmup
    May 15, 2017 at 18:27

3 Answers 3

34

Visual studio 2017 comes with this feature (called Edit.GoToAll). The default mapping is Ctrl + T or Ctrl + ,.

To change it click Tools -> Options and then under Environment/Keyboard search for GoToAll and assign Ctrl + P:

Edit.GoToAll

Source: https://learn.microsoft.com/en-us/visualstudio/ide/whats-new-in-visual-studio#experience-improved-navigation-controls

3
  • In VS 2013 it's called Edit.NavigateTo, and it's also assigned to Ctlr+, by default Apr 10, 2021 at 15:04
  • Confirming "GoToAll" is still true for VS 2019. Though this is a superset of a traditional Ctrl+P, and I often don't find that to be a good thing in this case (when you just want to go to a file).
    – s3c
    Sep 2, 2021 at 6:05
  • "Edit.GoToFile" which can be mapped in the same way as the above answer is a more traditional file-only search behaviour like CTRL+P in Sublime or Visual Studio Code. Checked and available in VS2019 and VS2022.
    – radcore
    Jan 5, 2022 at 23:18
7

Found these two:

Similar to Go to Type, Go to File (Ctrl+Shift+N) navigates you to any file within your solution. All the same search techniques and wildcards are supported.

2
  • VsFileNav is a must have
    – eka808
    Nov 7, 2013 at 14:54
  • @eka808 Just stumbled across this. Glad you liked VSFileNav. I'm assuming no one really uses it anymore - I'm considering retiring it as I've kinda abandoned the project after not touching Visual Studio in longer than I can remember.
    – Ian
    Sep 10, 2020 at 16:35
-1

More than a year is passed, so if you switched to VS 2012 I recommed this: http://visualstudiogallery.msdn.microsoft.com/5437f2e7-adef-44e2-b841-78be850e763e

3
  • This is giving me 404 error "Not found". Feb 7 at 22:03
  • Man, it's a link from 10 years ago...
    – MatteoSp
    Feb 8 at 7:27
  • Which again shows why it is important to add some context to a link. Like, what is this link about? In this case, it's about "Inline Navigate To", an experimental extension from the Microsoft Language Experience Team at that time. It has since been integrated in Visual Studio. Archive.org has the link archived. Mar 24 at 8:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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