Search code examples
javaeclipsekeyboard-shortcutsshortcut

A shortcut to select a line in Eclipse?


Is there a keyboard shortcut to select all the line your cursor is currently on? In Eclipse? Or even in general on Windows/Linux?


Solution

  • Solution for Eclipse:

    Hold Alt and press and .

    Alt + and will move an entire line up or down, so just move it back and you end up with the entire line selected. Thus, the order of and does not matter.