Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Duplicate line keyboard shortcut on MAC

This topic is related to Eclipse copy/paste entire line keyboard shortcut

But I couldn't find a short-cut since I'm using Mac computer.

Try this:

ALT + COMMAND + DOWN

it works.

like image 984
Harsha Avatar asked Dec 15 '16 00:12

Harsha


People also ask

What is the shortcut for Duplicate on Mac?

In the Shortcuts app on your Mac, select a shortcut, then choose File > Duplicate (or Press Command-D).

How do I copy a line down in Eclipse?

In the Window-Preferences of Eclipse the shortcut of Copy Lines is still "Ctrl+Alt+Down".

What is Ctrl D in Eclipse?

Ctrl + D. Deletes current line in the editor. Command + Shift + O.


1 Answers

As you said in your question the shortcut on MacOS is:

ALT + COMMAND + DOWN

OR

ALT + COMMAND + UP

Also you can check all the shortcuts in the preferences using COMMAND + , and go to the General > Keys section.

like image 158
Eduardo Rodriguez Avatar answered Sep 20 '22 16:09

Eduardo Rodriguez