Kewei Shang
Kewei Shang

Reputation: 983

How to use directly function key (F1 - F9) instead of pressing fn + function key in IDE in OSX?

When I use shortcuts in any IDE (IntelliJ or Eclipse) in Mac OSX, I have to press fn + function key (F1 - F12). Is there a way avoid it so that I only have to press the function key (F1 - F12)? Meanwhile, when I'm not in IDE, I want to use my function keys as app control as usual.

Upvotes: 2

Views: 3303

Answers (2)

arush436
arush436

Reputation: 1816

Ventura 13.2.1...

System Settings > Keyboard > Keyboard Shortcuts (button) > Function Keys > enable the option below. This option applies if you only want to use fn + function key for the functions on the keyboard which is fine by me!

enter image description here

Upvotes: 0

Kewei Shang
Kewei Shang

Reputation: 983

With the new MacBook Pro touchbar, we can use simply the function key F1 - F12 in IntelliJ or Eclipse, without having to press fn + (F1 - F12).

We can add IntelliJ or Eclipse in the following configuration: System Preferences - Keyboard

After adding IntelliJ or Eclipse in the configuration: enter image description here

With that configured, we can now press simply F8 to do step over when in debugger in IntelliJ, instead of pressing fn + F8.

Upvotes: 7

Related Questions