Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse on the Mac... using Windows keyboard shortcuts?

Tags:

I'm a power Eclipse user on Linux/Windows, and the keyboard shortcuts are practically muscle memory. Just recently started developing on a Mac (love it!), using Eclipse, but was really tripped up by the use of the command key... and not all the shortcuts map over consistently.

I've already re-mapped all my common shortcuts to use Ctrl, but was wondering if anyone's found a more efficient and complete way to do this? Has some kind soul gone through all the shortcuts and posted a preferences file ready for import?

like image 343
jtgameover Avatar asked Mar 02 '09 11:03

jtgameover


People also ask

What is the shortcut for run in Eclipse Mac?

You just answered your own question - press at once Shift+Command+F11 and it will run.

How do I use Microsoft keyboard shortcuts on Mac?

You can do this by going to System Preferences > Keyboard > Shortcuts > App Shortcuts. You then click the plus sign, select your application, enter a menu command, and include the shortcut.

How do I enable keyboard shortcuts in Eclipse?

Display and Edit the Current Keyboard Shortcuts To see the current key configuration and its keyboard shortcuts, choose the Eclipse > Preferences menu command to open the Eclipse workbench Preferences. Select the General > Editor > Keys page.


2 Answers

Instead of using the command key,

alt text http://www.pajbam.com/wp-content/uploads/2008/01/organize_imports-menu_item.png

, may be this article Mac Keys for Eclipse might contains a preference file (to be imported) with interesting shortcuts.

(Save your current preferences first ;) )

like image 92
VonC Avatar answered Sep 22 '22 17:09

VonC


I have the same case... Mac is only something temporary for me to test some things, and while at it, it really annoys me that I cannot use the keybindings available on Linux/Windows (and with the short sessions, it's worthless trying to retrain my muscles), so, if someone does have a preference file for that, I'd appreciate it too.


Edit: Just found out:

https://apple.stackexchange.com/questions/16135/remap-home-and-end-to-beginning-and-end-of-line

and remapping things globally helps a lot (and for Eclipse itself I just went on and edited the missing bindings manually -- after having the system ones already fixed).

like image 34
Fabio Zadrozny Avatar answered Sep 18 '22 17:09

Fabio Zadrozny