Problems with changing search range in visual studio 2019

석원 이 1 Reputation point
2021-01-11T08:59:57.29+00:00

Problems with changing search range in visual studio 2019

ctrl+f and f3 often change the search range.
I set it as'current document' and use it, but it says'all open documents'.

Is there a shortcut to change the following search range?

  • current document
  • all open documents
  • current project
  • all solution
Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2021-01-12T04:53:19.357+00:00

    Hi @석원 이 ,

    Thank you for reporting it in Microsoft Q&A.

    I tested on Visual Studio 2019 version 16.8.3. I can’t reproduce your issue. When setting “Current Document”, it only searches in currently active file.
    Have you tried to update your Visual Studio 2019 to the latest version? Then, repair it by running Visual Studio Installer > More > Repair and check if the situation disappears.

    By the way, the shortcut of directly selecting search scope is currently not available. In addition to press Ctrl + F, you can also try to change the search scope in “Look in” drop-down list (Ctrl + Shift + F).

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.