for example we have following method:
...
public void method1(){
method2();
}
...
method2
can throws exception and Eclipse
offer either wrap by try catch
or declare throws
declaration.
Each time I need pick up the mouse and hover mouse cursor to this row.
Is it possible select wrap or throws without using mouse?
I think that 'F2' is the right key to see the tooltip visible when hoovering mouse over an item in Eclipse editor. It may contain suggestions of fixing if there's a problem with the item being hoovered over. The functionality is called "Show Tooltip Description". Mentioned in other answers shortcut Ctrl+1 shows a "Quick Fix" tooltip which is slightly a different trick than "Show Tooltip Description". I would say that both tooltip provide user with some common functionalities but both offer also their own options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With