I have a Macbook with touchbar and wanted to set touchbar to always show FN keys for JetBrains apps. I have done it in preferences, same as for other apps. FN keys shows as default in those apps when they are in focus but not in the JetBrains apps.
To show the function keys ( F1 , F2 , and so on) on the Touch Bar, hold down the Fn key. You can also make function keys display permanently for selected applications, as described in the following Apple support article.
On your Mac, choose Apple menu > System Preferences, click Keyboard , then click Keyboard. Select “Use F1, F2, etc. keys as standard function keys” or “Use F1, F2, etc.
Head to System Preferences → Keyboard. Under the Touch Bar shows dropdown list, make sure App Controls is selected. Also, check that Show Control Strip is enabled. If your settings are as they should be, it's time to check your macOS version.
Set the Volume Button to Always Show Click on the Apple menu, and go to System Preferences. Select Dock and Menu Bar. Click on Sound. Locate the Show volume in menu bar option and tick the checkbox.
If you are using ToolBox App to install your JetBrains products then please have a look at the comments in IDEA-167332 ticket -- you will have to locate your apps in ~/Library/Application Support/JetBrains/Toolbox/apps/
folder.
Downside -- you need to repeat this to every new build of such app that you will install as the path to actual app will be different every time.
UPDATE: the aforementioned ticket has been marked as fixed for 2018.2.x version version. You now have an option on Preferences | Keymap
screen.
By default it is not possible to select inside of an app folder. So in order to be able to get the function keys configured, follow the following steps:
go to: System preferences -> Keyboard -> Shortcuts -> Functions keys
Click the + icon
Then press CMD+SHIFT+G to open up a path window. Enter: ~/Library/Application Support/JetBrains/Toolbox/apps
Select the correct application and version to make the function keys work again.
Repeat for every application you use.
I wanted to list the simplest way I've found. It is based on Rob's related, helpful answer to this question, but I've tried to make it simpler and clearer, without unnecessary steps.
Go to System Preferences > Keyboard > Shortcuts (tab).
Click "Functions Keys" from the pane on the left.
Click "+". A file picker will pop up.
Select your application; e.g. CLion
or IntelliJ
.
That's it. Now, when you open up your application, you will see function keys in the touch bar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With