在 Eclipse 中的标记出现快捷方式之间切换
我想知道 Eclipse 中是否有一些标记事件之间切换的快捷方式?
I wonder if there is some shortcut for switching between marked occurrences in Eclipse?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
工具栏中有 2 个按钮 - “上一个注释”(图标有向上箭头)和“下一个注释”(图标有向下箭头) - 允许您从一个注释移动到另一个注释。注释是编辑器中的标记 - 错误、警告、断点、发生等。您可以通过单击工具栏按钮旁边的下拉(倒三角形)图标来配置按钮应遍历哪些注释。
“下一个注释”的键盘快捷键是“Ctrl+.”,如果将鼠标悬停在工具栏按钮上,也会显示该快捷键。
PS:您可能还会发现浏览 JDT 提示和技巧 文档。上述工具栏按钮在文档中也有描述。
There are 2 buttons in the toolbar - 'Previous Annotation' (the icon has an up arrow) and 'Next Annotation' (the icon has a down arrow) - which allow you to move from one annotation to another. Annotations are the markers in the editor - errors, warnings, breakpoints, occurrences etc. You can configure which annotations should the buttons traverse through by clicking on the dropdown (inverted triangle) icon next to the toolbar buttons.
Keyboard shortcut for 'Next Annotation' is 'Ctrl+.', this is also shown if you hover over the toolbar button.
PS: You might also find it useful to glance through the JDT tips and tricks document. The above mentioned toolbar buttons are also described in the document.