sublimetext2 - How to select variables (not text) with the same name? -


When the variable f is selected, the editor highlights other versions of the variables. So far, but when trying to add them to the selection list with Ctrl + D , this code is also used as a regular text such as f Also I can drop it from Ctrl + K , but if the editor already recognizes f as a variable, then it is definitely only Can you choose a variable? This option is not in the menu.

Take this JavaScript snippet.

  f = function () {}; F (); When selecting  f  before   

, it highlights f in f () But in f the function .
When multi-select happens with Ctrl + D , it chooses though.

There is also an alternate solution in the post. Instead of selecting the variable, simply press the cursor to it, and press Ctrl + D also select it, but later it will be Ctrl + D Only other variables on the press (or the word that recognizes the word as the variable on the basis of boundaries).

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -