Java 如何导航到 eclipse 3.4.1 中的书签?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/949440/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 21:26:56  来源:igfitidea点击:

How to navigate to a bookmark in eclipse 3.4.1?

javaeclipseeditorbookmarks

提问by ashitaka

I am able to set bookmarks in a source file, but are there shortcut keys to navigate to a bookmark ? The navigatemenu has a goto line. But that is not useful.

我可以在源文件中设置书签,但是否有导航到书签的快捷键?在导航菜单中有一个goto线。但这没有用。

采纳答案by victor hugo

There is not a shortcut key but you can make appear a 'Bookmark view' which is located in Window > Show view > Other...and in the dialog inside the Generalclassification, Then just double-click on the desired bookmark to reach it

没有快捷键,但您可以显示一个“书签视图”,它位于“窗口”>“显示视图”>“其他...”和“常规”分类内的对话框中,然后只需双击所需的书签即可访问它

回答by Willian Mitsuda

If you check the "Bookmark" item in the "Next Annotation"/"Previous Annotation" toolbar dropdown item, you can use Ctrl+,and Ctrl+.to navigate to previous/next bookmark in the current opened file.

如果您选中“下一个注释”/“上一个注释”工具栏下拉项中的“书签”项,您可以使用Ctrl+,Ctrl+.导航到当前打开的文件中的上一个/下一个书签。

toolbar

工具栏

from Tutorial

来自教程

回答by rushmore

You can navigate to bookmarks using a plugin like:

您可以使用以下插件导航到书签:

http://www.etc.to/eclipse_bookmarks_plugin

http://www.etc.to/eclipse_bookmarks_plugin

回答by Jeff Jiang

ctrl f2 will create a booksmark shift f2 will navigate through all bookmarks I using eclipse with build id: 20130919-0819

ctrl f2 将创建一个书签 shift f2 将浏览我使用 eclipse 构建 ID 的所有书签:20130919-0819

Hope it helps

希望能帮助到你

回答by Alisa

I am using Quick Bookmarks Pluginwhich is very handy;

我正在使用非常方便的快速书签插件

You can create named bookmarks using digits (e.g., 1 to 9):

您可以使用数字(例如,1 到 9)创建命名书签:

Example:

例子:

Set bookmark #4 with [Alt+4]

Go to bookmark #4 with [Alt+Shift+4]

使用 [Alt+4] 设置书签 #4

使用 [Alt+Shift+4] 转到书签 #4

and so on.

等等。