有没有办法使用键盘显示悬停 JavaDoc 帮助?
当我将鼠标悬停在符号上时,Eclipse 在工具提示窗口中显示 JavaDoc 帮助。这很棒,但如果我可以在光标位于符号上时从键盘弹出此工具提示,那就更好了。有没有一个快捷方式可以做到这一点?
我发现 Shift-F2 可以打开外部 JavaDoc,但我不希望这样。我想弹出与鼠标悬停时显示的键盘相同的工具提示。
编辑:谢谢,速度很快。 :) 我接受了最快的答案。
Eclipse shows JavaDoc help in a tooltip window when I hover with the mouse over a symbol. This is great, but it would be better if I could pop up this tooltip from the keyboard when the cursor is on the symbol. Is there a shortcut which does this?
I found Shift-F2 which opens external JavaDoc and I do not want that. I'd like to pop up the same tooltip with the keyboard which is shown on mouse hover.
Edit: Thanks, that was quick. :) I accepted the quickest answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当光标位于该单词上时,尝试仅按 F2。当您将鼠标悬停在其上时,它将打开相同的弹出对话框。
Try pressing only F2 when cursor is on that word. It will open the same popup dialog as you get when you hover on it.
将光标移到方法/类/变量上,然后按 F2。
Move the cursor on a method/class/variable and press F2.
在 Netbeans 7.3 中,快捷键为 Ctrl + Shift + Space
原始答案见:
如何查看有关鼠标悬停的 Javadoc 文档在 NetBeans 中?
In Netbeans 7.3 the shortcut is Ctrl + Shift + Space
See the original answer at:
How to see Javadoc documentation on mouse hover in NetBeans?