2017-04-12 38 views
1

我是一個僅限eclipse的程序員。 現在是時候到了,我想試試intellij IDEA,看它是否會比日食現在更適合我。Intellij IDEA中Eclipse的完全重複快捷方式

我有一些重要的捷徑,我需要像以前一樣工作。就我所見,這是不可能的。但是,也許你們更瞭解它。

1)移動線向上和向下

在Eclipse我使用ALT + UPALT + DOWN

enter image description here

中高音向上/可以通過IDEA在「其他」中的「向下/向上移動」命令完成:

enter image description here

,但他們的行爲不同。不幸的是,「太聰明瞭」我會說......因爲他們跟蹤空行並跳過這些行,甚至帶着評論。我只想只移動選定的行,向上或向下,就這麼簡單。

實施例:enter image description here 導致

enter image description hereenter image description here在Eclipse上下移動它時,向上或。在IntelliJ IDEA的這種情況:

enter image description hereenter image description here

2)重複的行上下

在Eclipse中我得到了這些快捷鍵,上覆制,其它的複製下來: enter image description here enter image description here

在Intellij IDEA中,我將使用「編輯器操作」下的「重複整行」,這非常適合我。 但是:我只能使用一個方向,向上或向下,因爲這個命令只存在一次。我需要兩... :(


感謝您的幫助!

回答

3
  1. IntelliJ IDEA的有移線向上/向下移動語句向上/向下行動。後者是智能,前者是愚蠢的。指定任何你喜歡的快捷鍵和使用。

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

插件IntelliJ IDEA的,以允許複製線和等的碼塊在 的Eclipse IDE(Ctrl + Alt + UP和Ctrl + Alt +向下)。

+0

太棒了,作品!我想我可以和第二點一起生活:)謝謝! – BAER

相關問題