"Find usages"

Hi,

I love that feature. But sometimes it is the "overkill".

Is it possible to color the occurences of a variable in the editor with a shortcut? That could be a nice assist to see how often and on which places a variable is used...


e.g.

String s = "someString";
foo.bar(s);
bar.foo(s, otherObject);
return s|;


Pressing Ctrl-Very-Complicated-Shortcut marks all occurences of "s" in yellow...



2 comments

Does CtrlShiftF7 do what you want?

N.

Johannes Schneider wrote:

Hi,

I love that feature. But sometimes it is the "overkill".

Is it possible to color the occurences of a variable in the editor with a shortcut? That could be a nice assist to see how often and on which places a variable is used...


e.g.

String s = "someString";
foo.bar(s);
bar.foo(s, otherObject);
return s|;


Pressing Ctrl-Very-Complicated-Shortcut marks all occurences of "s" in yellow...




0

Ctrl-Shift-F7 ?

Vince.

"Johannes Schneider" <idea@johannes-schneider.info> wrote in message
news:32701201.1068042675704.JavaMail.itn@is.intellij.net...

Hi,

>

I love that feature. But sometimes it is the "overkill".

>

Is it possible to color the occurences of a variable in the editor with a

shortcut? That could be a nice assist to see how often and on which places a
variable is used...
>
>

e.g.

>

String s = "someString";
foo.bar(s);
bar.foo(s, otherObject);
return s|;

>
>

Pressing Ctrl-Very-Complicated-Shortcut marks all occurences of "s" in

yellow...
>
>
>
>


0

Please sign in to leave a comment.