Home Download Buy Blog Forum Support

Make Expand Selection to Word (CMD+D) behave like highlight?

Make Expand Selection to Word (CMD+D) behave like highlight?

Postby npinchot on Wed Feb 06, 2013 11:04 pm

Given the following code example:

Code: Select all
for (var i = 0; i < list.length; i++) {
  // a comment with the letter i in it many times
  my_special_function(i);
}


When selecting i, it will highlight all the proper occurrences of the instances of the variable i. However, when pressing CMD+D, it selects all instances of the letter i. So, if I am trying to rename the variable i, it would select i in special and i in function when using CMD+D. Yes, I can skip with CMD+K, CMD+D, but in my real-world instances, this is sometimes a real pain skipping long comments, etc.

Is there any way to make CMD+D behave as the highlighting does?
npinchot
 
Posts: 2
Joined: Wed Feb 06, 2013 10:59 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 38 guests