Page 1 of 1
Highlight all variable occurences in IDE
Posted: Sat Nov 12, 2011 2:09 pm
by Kukulkan
In many other editors, all variables like the one the cursor currently is on, are highlighted. This helps to find all places where this variable is used.
The orange arrow shows the cursor over the
$c variable (yes, it is PHP). The other occurences of this variable are highlighted using a light yellow background. This is very helpful if you like to refactor or if you are searching bugs.
BTW, this is PhpED from Nusphere (
http://www.nusphere.com/products/phped.htm).
Kukulkan
Re: Highlight all variable occurences in IDE
Posted: Sat Nov 12, 2011 2:15 pm
by MachineCode
+1
Re: Highlight all variable occurences in IDE
Posted: Sat Nov 12, 2011 2:26 pm
by Kiffi
That would be very useful!
Greetings ... Kiffi
Re: Highlight all variable occurences in IDE
Posted: Sat Nov 12, 2011 4:18 pm
by nco2k
Re: Highlight all variable occurences in IDE
Posted: Sun Nov 13, 2011 1:38 pm
by Blood
It should be an option.
Re: Highlight all variable occurences in IDE
Posted: Sun Nov 13, 2011 1:58 pm
by c4s
I like this feature very much in Notepad++, although it could be improved to (optionally) not highlight in comments, strings etc.
Re: Highlight all variable occurences in IDE
Posted: Sun Nov 13, 2011 3:50 pm
by Shield
Blood wrote:It should be an option.
Definitely. It's actually one of the first "features" I disable in other editors because
it annoys me and doesn't have any purpose for me whatsoever.

Re: Highlight all variable occurences in IDE
Posted: Sun Nov 13, 2011 10:01 pm
by Blood
Shield wrote:Blood wrote:It should be an option.
Definitely. It's actually one of the first "features" I disable in other editors because
it annoys me and doesn't have any purpose for me whatsoever.

Me too.
Re: Highlight all variable occurences in IDE
Posted: Wed Nov 16, 2011 8:48 am
by Kukulkan
Oh, I missed this. Sorry. But now it is mentioned twice
Surely, this must be an option that can get switched on and off.
Kukulkan
Re: Highlight all variable occurences in IDE
Posted: Wed Nov 16, 2011 4:35 pm
by Tenaja
+1 for adding this feature. It is one of the big reasons I use Notepad++.
Re: Highlight all variable occurences in IDE
Posted: Wed May 16, 2012 1:16 pm
by Didelphodon
+1
Highlight all variable occurences in IDE
Posted: Fri Jan 18, 2013 11:30 am
by Didelphodon
actually this feature would perfectly work together with another feature: a birds eye view (on the right to the vertical scrollbar) which shows you all occurrences in the source. Would also be cool for ctrl-f.