Find usages - improvement/suggestion Follow
One thing that would be VERY useful in the "find usages" feature would be the ability to find all times that a variable appears on the left side of an expression -- ie all the places it can be set. Even better would be a quickkey at that point to set a breakpoint all those places.
Would be a huge timesaver when trying to reverse engineer some code, and you want to know when some value is changing.
Please sign in to leave a comment.
Hello Daniel,
this is actually already possible - there are buttons 'Show write usages'
and 'Show read usages' in the
Find Results window, so you can find all places where a variable is assigned
a value. Although there is no
easy way to set breakpoint in all such places.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
http://www.intellij.net/tracker/resharper/viewSCR?publicId=10168
"Daniel Chait" <no_mail@jetbrains.com> wrote in message
news:21823413.1136404653213.JavaMail.itn@is.intellij.net...
>
Dmitry,
Hey thanks for the tip. Though I must admit upon reading it, I was very confused. I moused over every button I could see in the Find Results window like 10 times, not seeing it... then I realized, with the Find Results docked, those buttons you mention are hidden (see screenshot).
Undocked it, and there they are.
Perhaps you guys should consider some kind of expand arrows or chevron >> to indicate that there are more buttons off-screen?
Attachment(s):
screencap.jpg