Eclipse和IntelliJ IDEA复制单行快捷键比较!
Eclipse在开发时经常会用到,使用复制上一行代码的情况:
最常用的经验:
- 用鼠标点击代码所在的那一行,左键连续点击3下,就选中啦~
之后ctrl+c,Ctrl+v,就达到目的了。
正规方法:
- 找setting:Window->Preference->General->Key。
高效实战经验:
- ctrl+Alt+向下
Intellij IDEA在开发时经常会用到,使用复制上一行代码的情况:
最常用的经验:
- 用鼠标点击代码所在的那一行,左键连续点击3下,就选中啦~
之后ctrl+c,Ctrl+v,就达到目的了。
正规方法:
- 找setting:File—>Settings(Ctrl+Alt+s)—>Keymap—>搜索输入(duplicate)—>双击Duplicate Entire Lines(如下图)—>添加快捷键
高效实战经验:
- ctrl+d
总结:
名称 | 1 | 2 |
---|---|---|
Eclipse | Window->Preference->General->Key | ctrl+Alt+向下 |
Intellij IDEA | File->Settings->Keymap->搜索输入(duplicate)->双击Duplicate Entire Lines | ctrl+d |
参考链接有:https://blog.csdn.net/qq_43371778/article/details/105997635
https://blog.csdn.net/u013111855/article/details/90446553
https://blog.csdn.net/maybe_windleave/article/details/8977670
其它整理的简便方法,未完待续。。。。。。