A shortcut to select a line in Eclipse?

Arturas M picture Arturas M · Oct 21, 2012 · Viewed 52.1k times · Source

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

Answer

modulitos picture modulitos · Aug 6, 2013

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.