Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse. How to activate tooltip popup using shortcut?

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.enter image description here

Is it possible select wrap or throws without using mouse?

like image 470
gstackoverflow Avatar asked Sep 02 '14 08:09

gstackoverflow


1 Answers

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.

like image 76
Wojciech Krużel Avatar answered Sep 18 '22 18:09

Wojciech Krużel