How to actually search all files in Visual Studio

前端 未结 4 1115
眼角桃花
眼角桃花 2021-02-01 11:29

I am using Visual Studio. Say for instance I have a static public method named FooBar() in class Utils. Let\'s also say that I use this method in a lot of .aspx files. Let\'s

相关标签:
4条回答
  • 2021-02-01 12:06

    I think you are talking about ctrl + shift + F, by default it should be on "look in: entire solution" and there you go.

    0 讨论(0)
  • 2021-02-01 12:09

    One can access the "Find in Files" window via the drop-down menu selection and search all files in the Entire Solution: Edit > Find and Replace > Find in Files

    Other, alternative is to open the "Find in Files" window via the "Standard Toolbars" button as highlighted in the below screen-short:

    0 讨论(0)
  • 2021-02-01 12:24

    So the answer seems to be to NOT use the Solution Explorer search box.

    Rather, open any file in the solution, then use the control-f search pop-up to search all files by:

    1. selecting "Find All" from the "--> Find Next / <-- Find Previous" selector
    2. selecting "Current Project" or "Entire Solution" from the selector that normally says just "Current Document".
    0 讨论(0)
  • 2021-02-01 12:27

    Press Ctrl+,

    Then you will see a docked window under name of "Go to all"

    This a picture of the "Go to all" in my IDE

    0 讨论(0)
提交回复
热议问题