Answer the question
In order to leave comments, you need to log in
Why does visual studio code jump to the searched text right away?
Tell me, why in the Visual Studio Code editor, when you press CTRL + F, moving to the searched text occurs immediately in the typing process? how to disable this behaviour?
I will immediately explain why I need to disable this behavior:
Situation 1.
Suppose I am (i.e., the cursor is standing) in the middle of the text of a large program. I want to find the $database variable, so I press Ctrl + F and start typing the name. As soon as I typed $dat, it immediately jumps down to where I have the $dat variable - why do you ask? well, I continue typing, adding to $data - it again jumps somewhere else, where there is a $data variable. Next, I finally typed $database to the end and it turns out that this variable does not exist, and I am already where he found $data. Why is he chasing me through the code, if I have not yet dialed what I want to find?
Situation 2.
Still in the middle of the code. I want to know if I have the $data variable below in the text (and, for example, it is at the beginning of the code, but it is not further down the text). I press Ctrl + F, I type $data and I find myself at the beginning of the code. Asking why? I needed to find out if there is a variable further in the code.
Situation 3.
Still in the middle of the code. The $data variable exists before and after where the cursor is. But I need to find the previous location where $data is to find out what changes its value to where I am. I press Ctrl + F and type $data and I get to the bottom of the code, where there is $data, but I needed to find the previous place, not the next one.
Answer the question
In order to leave comments, you need to log in
The extension from the Reference Search View box can help you - it seems to be the most suitable for your tasks. Shows all search results in a sidebar that you can easily navigate through.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question