How to rename variable in Visual Studio Code

Visual studio code is a trendy free code editor from Microsoft.
Visual Studio supports a lot of productive features like auto import, syntax colouring and a lot of extensions for making developer life more comfortable.
In this article, I will share you one handy tip for renaming all the variables in vs code
  1. Highlight the variable in Visual Studio Code as shown below

  2. Press F2 and type the new variable name and then enter

DEMO

Reactions

Post a Comment

0 Comments

Close Menu