tags:

views:

4209

answers:

5

I'm running Leopard and do all my Java development in eclipse. Some of the shortcuts work such as Command-1 which will do a quick suggest. However how do I get the Function Keys (F5 for refresh in the package explorer) to work? Right now it brings up spaces or whatever System Preferences maps to that.

What about Control-click into a breakpoint when I'm debugging and want to go directly to the chosen function? Is there a way for my eclipse keyboard shortcuts to take precedence over other programs?

i'm running eclipse 3.4 though I've had this problem since eclipse 3.2.

A: 

In system preferences under keyboard there is a toggle to turn the f keys into real function keys

Jason Punyon
A: 

Are you using a macbook? In OO.org at least, you have to press fn-fx to get at the application short-cut, otherwise you get the system-wide one.

Dana the Sane
A: 

This doesn't sound like an Eclipse problem.

Are you using an External Keyboard or a macbook ?

If you want to use the debuggers and stuff, you need to change the interpretation of the function keys. You have to manually hit the FN key on your laptop keyboard. Some external keyboards have a function lock.

Uri
+5  A: 

Its been a while since I used eclipse on the mac but I think you have to go to Preferences.app and check the "keyboard" pane. There should be an option that chooses if its fn-function-key or just function-key for the key press. After that, it would be fn-f5 for expose and just f5 for f5. You will lose the ability to dim the screen and adjust the sound from the keyboard.

sal
A: 

What about the control click and going directly to the function? That works on the windows version of eclipse, but I can't seem to get it working in Mac OSX. Tried: command click = nothing option click = nothing control click = opens context menu (like clicking the right mouse button)

In os x i'm able to use command click to go into a function (not while on a breakpoint but otherwise).
Ish