Eclipse copy/paste entire line keyboard shortcut

后端 未结 25 2998
感动是毒
感动是毒 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:52

    Ctrl+Alt+Down Copies current line to below like notepad++ (Ctrl+D)

    If your whole screen is 180° rotted then you should disable your hotkey settings.

    Right Click -> Graphics Options -> Hot Keys -> Disable

    That it now you done try shortcut Ctrl+Alt+Down

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

    Another shortcut way to do this is press Ctrl+Shift+L and select which command you want to perform and hit enter

    its best practice for beginner.

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

    If you want to copy a line to the clipboard you can also use the trick:

    Ctrl-Alt-Down followed by Ctrl-X

    The drawback is that the file where you copy the line from becomes dirty.

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

    Try this in MAC.

    ALT + COMMAND + DOWN

    it works.

    0 讨论(0)
  • 2020-12-07 08:00

    If Your Window pc, you may try this, it's also for STS:

    Ctrl + win + Alt + Down :: Copy current line or selected line to below

    Ctrl + win + Alt + Up :: Copy current line or selected line to above

    0 讨论(0)
  • 2020-12-07 08:01

    It's working with me on , Eclipse + Spring tool suite .

    ALT + COMMAND + DOWN

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