Android Studio 删除行和重复行的快捷方式 [英] Android Studio delete line and duplicate line shortcuts
本文介绍了Android Studio 删除行和重复行的快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Android Studio 中删除一行的快捷方式是什么?复制一行的快捷方式是什么?
我在
What is the shortcut in Android Studio to delete a line? And what is the shortcut to duplicate a line?
I found the answer in the documentation and I am posting it below for quick reference.
解决方案
Linux/Windows
- Control + D : Duplicate current line or selection
- Control + Y : Delete current line
Note from comments: Shift + Delete cuts the current line.
Mac
- Command + D : Duplicate current line or selection
- Command + Delete : Delete current line
See also
If it's not working, check the Keymap settings:
这篇关于Android Studio 删除行和重复行的快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文