How to Ctrl+Shift+Space shortcut shows method help on eclipse?
In eclipse, when mouse pointer moves over on method help hint shows. I want to show method help on eclipse like Visual Studio. When I pressed Ctrl+Shift+Space when cursor inside method parenthesis, I want to see method help as hint. How can I do it? Which shortcut's setting should I change?
PS: Netbeans IDE comp开发者_Go百科letley works as I wanted, but I want to do same in eclipse.
You can use the JavaDoc View (View -> Show View -> JavaDoc
/ Alt+Shift+Q,J
) to show the JavaDoc of the method your text cursor is inside. Or place the mouse cursor over the method name and the JavaDoc will be presented as tooltip.
F2
(Show Tooltip decription) will give you the JavaDoc as mentioned in your question update. Ctrl-Shift-Space
gives you Context Information (e.g. list of all possible methods) and you probably won't lose this due to new declaration.
In General > Editors > Keys look the command should be "Show tooltip description", which is binded to F2 as default (same effect as the hover tooltip)
File -> Settings -> Editor -> General
In the other Section you will find - "Show quick doc on mouse move" Just mark the checkbox to help in 500ms(Time delay is changable)
精彩评论