来自Intellij IDEA中Eclipse的精确复制快捷方式

时间:2017-04-12 13:39:12

标签: eclipse intellij-idea keyboard-shortcuts

我是一名仅限日食的程序员。 现在是时候了,我想试试intellij IDEA,看看它是否比eclipse现在更适合我。

我有一些必要的快捷方式,我需要像以前一样工作。据我所知,这是不可能的。但也许你们知道的更好。

1)上下移动线

在Eclipse中我使用 ALT + UP ALT + DOWN

enter image description here

alt / up可以通过IDEAs“向下/向上”命令在“其他”中完成:

enter image description here

但他们的行为却不同。不幸的是“太聪明了”我会说...因为他们跟踪空白行并跳过这些,甚至带着它的评论。我只想简单地向上或向下移动选定的行,就像那样。

示例:enter image description here 结果

在Eclipse中向上或向下移动时,

enter image description hereenter image description here。在Intellij IDEA中会发生这种情况:

enter image description here enter image description here

2)上下重复行

在Eclipse中,我获得了这些快捷方式,在复制时,另一个是复制: enter image description here enter image description here

在Intellij IDEA中,我使用“编辑动作”下的“复制整行”,这非常适合我。 BUT:我只能使用一个方向,向上或向下,因为此命令只存在一次。我需要两个...... :(

感谢您的帮助!

1 个答案:

答案 0 :(得分:3)

  1. IntelliJ IDEA 向上/向下移动向上移动/向下移动操作。后者很聪明,前者很愚蠢。分配快捷方式并使用您喜欢的任何内容。

  2. 投票this request或使用this third-party plug-in

  3.   

    IntelliJ IDEA插件允许复制行和代码块   Eclipse IDE(Ctrl + Alt + UP和Ctrl + Alt + Down)。