Why is label refactoring in eclipse missing on mac os?

I am using Eclipse 3.6.1 on Mac Os.

In an earlier version of Eclipse, I have many good refactoring combinations like:

  • Command + Alt + M extraction method

  • Command + Alt + I inline

Recently, if I press Command + Alt + M ; I insert Β΅ instead of extracting the method and Command + Alt + I ; inserts ^ . Labels also no longer appear in the refactoring menu.

Those missing shortcuts really bother me. I think the shortcuts are not shown / active because shortcuts to native Mac OS have priority.

How to enable these shortcuts?

UPDATE

I just installed Eclipse Indigo and the shortcuts disappeared again. I use them all the time, and replacing the code with Β΅ all the time is very annoying.

Has anyone encountered this issue?

+8
eclipse keyboard-shortcuts macos
source share
4 answers

I just did a clean install of the 64-bit version of Eclipse and the shortcuts reappeared.

0
source share

In general, you can use the shortcut Command + Shift + L in any given editor to see a list of available keyboard shortcuts ... and the second Command + Shift + L will display a pop-up window with all possible shortcuts in your Eclipse (for example, it can be filtered for "extraction method").

This will at least allow you to see the current shortcut for any given action.

+3
source share

If you go to Settings ... β†’ General β†’ Keys, find a description of the action that does not work in the list. After selecting, see if there is a conflict (in the conflict list below). There is a likelihood that for another action a conflicting label will be installed (possibly by another plugin).

Once you have identified another conflicting action, find it in the list: you can either undo it completely or change its scope (in the When drop-down list) to restrict it to a specific plugin.

+2
source share

Are you using the Aptana plugin or any other plugins? In my case, I was able to return the shortcuts by removing Aptana.

+1
source share

All Articles