That highlights where it's directly used in the file; for instance in the throws clause of other method signatures. I was hoping for it do something like the following.
public void myFirstMethod() throws MyException
{
mySecondMethod();
}
public void mySecondMethod throws MyException
{
throw new MyException();
}
]]>
When highlighting MyException on the myFirstMethod signature it would highlight the call to "mySecondMethod();".
Place the caret on the "throws" keyword and press Ctrl-Shift-F7 (Highlight usages in file).
That highlights where it's directly used in the file; for instance in the throws clause of other method signatures. I was hoping for it do something like the following.
public void myFirstMethod() throws MyException { mySecondMethod(); } public void mySecondMethod throws MyException { throw new MyException(); } ]]>
When highlighting MyException on the myFirstMethod signature it would highlight the call to "mySecondMethod();".
Please re-read my previous post carefully.
Place the caret on the THROWS clause before invoking "highlight usages in file".
See screenshot - isn't this what you want?
Attachment(s):
highlight.png