转到Android Studio中的书签?

use*_*117 21 android-studio

我知道我可以使用F11在Android Studio(我有2.2.2)中切换(设置和清除)书签.但是,有没有类似的简单方法来转到下一个书签?我发现转到下一个书签的唯一方法是隐藏在导航菜单中 - 导航>书签>下一个书签.有没有办法为此分配功能键?

Rav*_*rma 29

没有默认快捷方式可转到下一个书签.虽然您可以在首选项中设置一个.

为此,请转到"首选项" >" 键盘映射",然后在" 主菜单" >" 导航" >" 书签"下,可以为各种操作设置所需的键盘快捷键.(您也可以bookmark在"首选项"窗口的搜索栏中搜索关键字以直接导航.)

希望这可以帮助!


Stu*_*ioX 7

使用Go to next bookmark与很多书签可能没有用这么多的项目。

我的建议是使用Shift+ F11查看夏季书签的完整列表,然后直接转到您需要的书签。

另外F11,使用Ctrl+ F11可以为每个书签设置一个助记符单个地址代码,并直接使用Ctrl+ 查找它们是一个不错的选择NUMBER

在mac系统中,这3个键替换为F3- Alt+ F3- Cmd+F3


Mus*_*san 5

步骤 1:Shift + F11
步骤 2:Alt + 向上/向下

就是这样。


Dra*_*ire 5

在 Mac 和 Android Studio 4 上您可以执行以下操作

设置书签

Right click on the line counter pane and set bookmark
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

清除书签

Right click on the line counter pane and clear the bookmark
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

导航至书签

Go to Navigate -> Bookmarks -> Show Bookmarks
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

导航至书签(另一种方式)

On the right side you will see a black horizontal line marker for the bookmark you can click on that to jump to the bookmark
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述