用于在文件内导航的Android Studio快捷店?

发布于 2025-02-10 13:51:45 字数 345 浏览 0 评论 0原文

在Android Studio中的类/文件中导航的快捷方式是什么?

我知道shift+ctrl+up/down仅在全局属性和类中定义的方法声明之间导航。例如,它不允许我在方法的内容中导航。

我也知道命令+shift+[命令+shift+]以移至代码块的开始和代码块的末尾。

除了上述文件外,我还可以在文件中使用快捷方式导航的其他选择?在Internet浏览器中,是否有等同于选项+up/down进行快速滚动?

我在Mac上,但是如果您在Windows上也可以随时回答,我可以弄清楚Mac上的相应键将是什么。

What are the shortcuts for navigating inside a class/file in Android Studio?

I know about Shift+Ctrl+Up/Down which only navigates between global properties and method declarations defined in a class. It doesn't allow me to navigate inside the content of a method for example.

I also know about Command+Shift+[ and Command+Shift+] to move to the start of a code block and to the end of a code block.

What are my other options to navigate with shortcuts within a file aside from the aforementioned ones? Is there something equivalent to Option+Up/Down in internet browsers for quick scrolling?

I'm on Mac but if you're on Windows feel free to answer too, I can figure out what the corresponding keys would be on Mac.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

记忆消瘦 2025-02-17 13:51:45

KEYMAP设置的“编辑器操作”组中列出的所有操作:

All the actions listed in the "Editor Actions" group of Keymap settings:
enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文