OS X Lion 上的 Eclipse Indigo,Java“源”;悬停不起作用
我正在 OS X Lion 上运行 Eclipse Indigo,一切似乎都运行良好,只是我无法让 Java“源”悬停正常工作。不管我在Java中配置什么->编辑->当鼠标悬停在方法名称上时,我在“首选项”中的“悬停”部分中得到的悬停如下:
未按下修饰键的情况下悬停:Javadoc(或指示没有的消息) Javadoc 可用),尽管 Javadoc 悬停是 已禁用。
按下 Command 键将鼠标悬停:弹出菜单允许我选择 打开声明或打开实现。
按住 Shift 键悬停:应在工具提示窗口中显示该方法的源代码,但会显示 Javadoc 窗口(表现得就像没有按下修饰键一样)。
无论我做什么,我都无法让“源”悬停正常工作,即使这是我启用的唯一悬停操作,也无论我分配给它什么修改键。这是一种耻辱,因为在我看来,源悬停是迄今为止最有用的。
Windows 上的 Indigo 不会出现此问题,因此它似乎是 OS X 特定的问题。
I'm running Eclipse Indigo on OS X Lion and it all seems to be working very well, except that I can't get the Java 'source' hover to work properly. Regardless of what I configure in the Java -> Editor -> Hovers section in Preferences the hovers I get are the following when hovering over a method name:
Hover with no modifier key pressed: Javadoc (or message indicating no
Javadoc available), despite the fact that the Javadoc hover is
disabled.Hover with Command key pressed: popup menu allowing me to choose from
Open Declaration or Open Implementation.Hover with Shift key pressed: should bring up the source of the method in a tooltip window, but brings up the Javadoc window instead (behaves as if no modifier key were pressed).
No matter what I do I can't get the 'Source' hover to work, even if that's the only hover action I have enabled and regardless of what modifier key I assign to it. This is a shame as the Source hover is by far the most useful IMO.
The problem doesn't occur with Indigo on Windows, so it appears to be an OS X specific issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过进一步研究,这似乎是一个已知错误:Eclipse Bug 357127。将在 3.7.2 中修复。
After further research it appears this is a known bug: Eclipse Bug 357127. Will be fixed in 3.7.2.