Visual studio code is a trendy free code editor from Microsoft. Visual Studio supports many productive features like auto import, syntax colouring, and many extensions for making developer life more comfortable.
In this article, I will share one handy tip for renaming all the variables in vs code.
-
Highlight the variable in Visual Studio Code as shown below
-
Press
F2
and type the new variable name and then enter
DEMO
This technique is not bound to any specific language. VSCode allow this feature to all langyages like C#,Python,Java,Javascript and many more.{alertInfo}