Is there a keyboard shortcut to select all the line your cursor is currently on? In Eclipse? Or even in general on Windows/Linux?
To select a line of text, place your cursor at the start of the line, and press Shift + down arrow. To select a paragraph, place your cursor at the start of the paragraph, and press Ctrl + Shift + down arrow.
In Eclipse you can duplicate a codeline via the shortcut CTRL+ALT+Up/Down.
Search – Eclipse Shortcuts CTRL SHIFT G – Search for current cursor positioned word reference in workspace. CTRL H – Java search in workspace.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With