android studio / intellij idea goto行号 [英] android studio / intellij idea goto line number

查看:224
本文介绍了android studio / intellij idea goto行号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中,如果我输入cmd + L,它会打开一个对话框供我输入行号,它会将我带到代码中。如何在Android Studio中执行相同的操作?而不是每次我需要一个特定的行号滚动。

In Eclipse, if I type cmd+L, it opens a dialog for me to enter a line number and it takes me there in the code. How do I do the same thing in Android Studio? Instead of having to scroll each time I need a specific line number.

推荐答案

转到特定行的快捷方式和/或列号为: CTRL G

The shortcut to go to a specific line and/or column number is: CTRLG

示例:


  1. 转到第6行

    Ctrl G 6 输入

转到第6行和第8列

Ctrl 6 8 输入

Go to line 6 and column 8
CtrlG6:8Enter

转到当前行的第4列

Ctrl G 4 输入

Go to column 4 on the current line
CtrlG:4Enter


快捷方式参考:


Shortcut References:

  • AltHK = H̲elp -> Default K̲eymap Reference
  • IntelliJIDEA_ReferenceCard.pdf
  • Android Studio Shortcuts You Need the Most

这篇关于android studio / intellij idea goto行号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆