Sublime Forum

C language

#1

When editing in C language,
When I use CTRL+D to simultaneously change variable names, why did the letters inside the strings also change (not variables)?

0 Likes

#2

There is no built-in “variables select” feature in ST.

Depending on how you use CTRL+D, it either one of the following two cases:

  • No initial selection: select by word (it’s by “word” but usually it meets a variable name as well)
  • With an initial selection: select by string (this is your case, selecting a without word boundary limitation)
0 Likes