java - How can I highlight multiple variables in Eclipse? -


In eclipse, if you place your cursor on a variable, then it will highlight that variable everywhere in the code. I was wondering how you can highlight more than one variable at a time?

But using the search dialog, you can see two variables in the same search.

  1. Mark the regular expression checkbox in the options.
  2. Use a regular expression in the search textbox. For example if you are looking for both index and count variables (index) | (Count) .
  3. The search button will cycle through all the instances of both index and count .

    This can be expanded for even more difficult searches.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -