通过 Ctrl+单击在 Eclipse Oxygen 中的超链接导航不起作用

2022-01-20 00:00:00 ide c++ code-navigation eclipse eclipse-cdt

从 Eclipse Neon 升级到 Oxygen 后,我注意到我无法再通过按住 Ctrl 键并单击定义来浏览代码.索引器本身工作正常,我仍然可以通过按 F3 或使用上下文菜单来跳转.

After upgrading from Eclipse Neon to Oxygen I noticed that I can no longer navigate around the code by clicking on definitions while holding the Ctrl key down. The indexer itself works fine, and I can still jump around by pressing F3 or using the context menu.

我正在使用带有 C++ 的 Eclipse CDT.

I am using Eclipse CDT with C++.

以下截图证明该功能已启用:

The following screenshot proves that the feature is enabled:

我错过了什么?

推荐答案

你可能遇到了 错误 517610.请注意该错误中的以下解决方法:

You're probably running into bug 517610. Note the following workaround from the bug:

要解决此问题,您可以禁用更改日志超链接通过转到 Window > Preferences > General > Editors > Text Editors >超链接,然后取消勾选Changelog Detector".

To work around the problem, you can disable the Change Log hyperlink by going to Window > Preferences > General > Editors > Text Editors > Hyperlinking, then untick "Changelog Detector".

计划修复 Oxygen.1 的错误,该版本将于 2017 年 9 月 27 日发布.或者,您可以更新到 Linux 工具(包含错误的组件)的最新开发版本 (6.1.0)通过更新站点 http://download.eclipse.org/linuxtools/update/.

The bug fix is scheduled for Oxygen.1, which will be released on September 27th 2017. Alternatively, you can update to the latest development build (6.1.0) of Linux Tools (which is the component that contained the bug) via the update site http://download.eclipse.org/linuxtools/update/.

相关文章