How to select all instances of a variable and edit variable name in Sublime

后端 未结 10 1290
一向
一向 2020-12-02 03:34

If I select a variable (not just any string) in my code, all other instances of that variable get a stroke (white outline) around them:

10条回答
  •  情深已故
    2020-12-02 03:42

    It's mentioned by @watsonic that in Sublime Text 3 on Mac OS, starting with an empty selection, simply G (AltF3 on Windows) does the trick, instead of D + G in Sublime Text 2.

提交回复
热议问题