在Android Studio中上下移动代码块的快捷方式 [英] Shortcut for moving code block up and down in Android Studio
本文介绍了在Android Studio中上下移动代码块的快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Android Studio中是否有用于上下移动所选代码块的快捷方式?
is there any shortcut for move a selected code block up and down in android studio?
在Visual Studio 2010+中,我只选择我的块,按住ALT键,然后按向上箭头/向下箭头.然后,选定的块向上/向下浮动.
In Visual Studio 2010+ I just select my block, hold ALT-Key and press arrow up / arrow down. Then, the selected block float up/down.
Android Studio中是否有类似的动作?
Is there a similar action in Android Studio?
推荐答案
尝试按Ctrl-Shift-上移或下移箭头.我知道intellij,因为这是基于可能有效的intellij.
Try Ctrl-Shift-Up or down arrow. I know intellij and as this is based on intellij that might work.
这篇关于在Android Studio中上下移动代码块的快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文