Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename refactoring in VS Code

In visual studio we can use Resharper for refactoring, but in VS Code I can't find a good refactoring tool.I just want to know if there is any name refactoring tool in VS code especially for type script?

like image 746
Mohammad Niazmand Avatar asked Jul 01 '26 17:07

Mohammad Niazmand


1 Answers

The official way to refactor variable names is F2 key.
It's able to change variable names in the other files too.

enter image description here

You can find out more about the default refactoring in VS Code here: Refactoring source code in Visual Studio Code

like image 133
József Cserkó Avatar answered Jul 04 '26 12:07

József Cserkó