问题描述
说, + =设置1书签
+ =转到第一个书签已设置
是的。您需要为添加书签
设置快捷键。转到窗口>首选项>常规>键,然后输入文本过滤器书签。 添加书签
将被列出,选择它。现在,在绑定
中绑定一个新的快捷方式。确保没有冲突。
将快捷方式分配给列出所有书签的显示视图(书签)也是一个好主意。或者,可以通过窗口>显示视图>其他(快捷方式 + + ,)>并过滤到书签。
从这里开始,您可以设置新的书签。您可以使用下一个注释 + + 但您需要首先通过下拉列表启用跳到书签这两个在注释工具栏中:
图片来源:由vogella
所以选择两个下拉列表中的任一个并启用书签:
如果您不想要其他注释例如错误和警告将被包括在导航中,在下一个/上一次注释的工具栏下拉列表中禁用它们。
下一个/上一个注释的快捷方式可以所以在首选项中改变。他们的类别是导航
,当:在Windows
中,您可以过滤到他们的名字: Next
和上一个
。
Bookmarks in Eclipse, set and go using hotkeys, do they exist?
Say, ++ = Set 1 bookmark
+ = go to the place first bookmark was set
Yes. You need to set a shortcut key for Add Bookmark
. Go to Window > Preferences > General > Keys and enter the text filter "bookmark". Add bookmark
will be listed, select it. Now bind a new shortcut in Binding
. Make sure that there are no conflicts.
It may be also a good idea to assign a shortcut to "Show View (Bookmarks)" where all your bookmarks are listed. Alternatively this can be enabled via Window > Show view > Other (shortcut ++, ) > and filter to "bookmark".
From here on, you can set new bookmarks. Eclipse will want you to name your bookmarks.
You can navigate these bookmarks, using "Next Annotation" + and "Previous Annotation" + but you need to enable jumping to bookmarks first via the dropdown of these two in the annotations toolbar:
image source: tutorial by vogella
So select any of the two dropdown and enable "Bookmarks":
If you don't want other annotations such as Errors and Warnings to be included in the navigation, disable them in the toolbar dropdown for next/previous annotation.
The shortcut for Next/Previous Annotation can also be changed in the Preferences. Their category is Navigate
, when: In Windows
, you can filter to their names: Next
and Previous
.
这篇关于Eclipse中的书签,使用热键设置和使用,它们是否存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!