Eclipse copy/paste entire line keyboard shortcut

后端 未结 25 2997
感动是毒
感动是毒 2020-12-07 07:05

Anyone know the keyboard shortcut to copy/paste a line into a new line in Eclipse, without having to highlight the entire line?

ctrl-alt

相关标签:
25条回答
  • 2020-12-07 07:44

    The combination of Ctrl + Shift + Alt + Down worked for me on Linux.

    0 讨论(0)
  • 2020-12-07 07:45

    I have to change the assigned key, e.g.

    Windows/Preference --> General --> Keys

    Select "Duplicate Lines" under command Click on "Binding" Ctrl + Shift + D

    0 讨论(0)
  • 2020-12-07 07:46

    For personal usage, I add a vim plugin like Vrapper to Eclipse and just use yy to copy entire line.

    0 讨论(0)
  • 2020-12-07 07:47

    You have to turn off the graphics hot keys that flip the screen. If you're on Windows, you need to right click on the Windows desktop and select "Graphics Properties..." (or something similar depending on your version of Windows). This will bring up a screen where you can manage graphics and display options, look for a place where you can disable hot keys, sometimes it's hidden under something like "Options and Support". Turn off the CTRL + ALT + and CTRL + ALT + hotkeys (alternatively you can just disable all graphics hot keys if you're not using them).

    0 讨论(0)
  • 2020-12-07 07:48

    For mac, shift+alt+down_arrow works in netbeans' editor.

    0 讨论(0)
  • 2020-12-07 07:48

    We can assign any command to any action(given) in Eclipse From Menu Bar go to Window > Preferences then search for the keys then search copy line then click on copy line and then click on command in Binding and peform a command which you wish to use for duplicating line i use ctrl+shift+d you can choose whatever you want

    0 讨论(0)
提交回复
热议问题