How does VS Code replace automatically highlighted variables once?

  question, vim

As shown in the figure:

图片描述

Please note: the highlighted onesuserIs the same variable, vscode can be automatically identified, and another variable in another function belowuserDistinguished, there is no highlight.

What I want to do now is highlight the pictureuserReplace withcredentials, without replacing the of the following functionuserVariable.

Thank you

————————UPDATE—————————

* * A solution has been found:
Right-click the highlighted user and click “Rename Symbol” instead of the Find/Replace operation. **

A solution has been found: right-click the highlighted user and click “Rename Symbol” instead of the Find/Replace operation.