Shortcut to rename, override or replace words or equal variables in Sublime Text 3

4

In Eclipse, there is a feature that is triggered by the CTRL + ALT + U (Me correct if I am wrong) commands that rename variables with the same name. Do you know any shortcuts to Sublime Text 3 that do this? Or is it some plugin?

    
asked by anonymous 04.06.2015 / 17:22

4 answers

6

Alt + F3 selects all words equal at one time.

Ctrl + D increments the selection to the nearest (next and not the previous) if you do not want to change all of them.

    
22.06.2015 / 00:57
3

CTRL + D selects one by one of the same name. Pressing several times, it selects one by one with the same name.

    
04.06.2015 / 18:06
0

Shift + Ctrl + F

In the first field the object you are looking for, in the second field where the file you want to modify, third and last is the content you want to replace.

    
20.10.2017 / 05:01
-1

Press CTRL + F and follow the steps below:

  • Type the name of the variable you want to change in the first field.
  • In the second field type the new name;
  • Click replace all and all variables will be updated.
  • 07.09.2017 / 16:57