when i hit Find All References it try to find all reference in files inside workspace.
i want to use current file only when search 'Find all reference' function in vs code.

i want to search only References in yellow marked file which is currently editing file and don't want to search files all other files like purple X marked area.
All occurrences in the open file will be selected. Press Esc to return focus to the editor.
ctrl + shift + f will open search.
Click on the 3 dots (Toggle search details) under search dialog box. [ ... ]
Under file to include, specify the path of the file under which you want to find all the references to the key you're searching.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With