android studio/intellij 想法转到行号 [英] android studio / intellij idea goto line number
本文介绍了android studio/intellij 想法转到行号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Eclipse 中,如果我输入 cmd+L,它会打开一个对话框让我输入行号,然后它会将我带到代码中.我如何在 Android Studio 中做同样的事情?每次需要特定行号时都不必滚动.
解决方案
转到特定行和/或列号的快捷方式是:CTRLG>
示例:
转到第 6 行
CtrlG6回车转到第 6 行和第 8 列
CtrlG6:8回车转到当前行的第 4 列
CtrlG:4回车
快捷方式参考:
- AltHK = H̲elp -> 默认 K̲eymap 参考
- IntelliJIDEA_ReferenceCard.pdf
- 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.
解决方案
The shortcut to go to a specific line and/or column number is: CTRLG
Examples:
Go to line 6
CtrlG6EnterGo to line 6 and column 8
CtrlG6:8EnterGo 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 想法转到行号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文