vim - VS Code How to replace automatically highlighted variables at once?
天蓬老师
天蓬老师 2017-05-16 16:35:19
0
2
712

as the picture shows:

Please note: The highlighted user are the same variable, which vscode can automatically identify and distinguish from another variable user in another function below. , there is no highlighting.

What I want to do now is to replace the highlighted user in the picture with credentials without replacing the user variable of the function below.

Thanks.

------------------------UPDATE---------------------- -----

**The solution has been found:
Right-click on the highlighted user, and then click "Rename Symbol" instead of performing a Find/Replace operation. **

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
Peter_Zhu

The solution has been found: right-click on the highlighted user and click "Rename Symbol" instead of performing a Find/Replace operation.

仅有的幸福

Shortcut key: ctrl+shift+l

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template