Customise Touch Bar for a specific application

keyboardshortcuttouch-bar

So I've been using the MacBook Pro with Touch bar for a week and the Touch Bar seems pretty convenient. However, I haven't found an option to customize the Touch Bar for a specific app.

For example, whenever I code via jetBrains phpStorm, I'm used to having the F[0-12] Buttons (which aren't displayed in the keyboard anymore in favor of the Touch Bar). I know that if I'm holding the fn button, I'll be able to see the F[0-12] Buttons. But I want them to be displayed by default without the need to hold the fn button.

Is there a way I can achieve this?

Best Answer

Assuming I understand your question, you can set your Touch Bar to show the function keys as its default display on an app by app basis.

To do this:

  1. Go to Apple > System Preferences
  2. Select the Keyboard preference pane
  3. Click on the Shortcuts tab
  4. In the left sidebar, select the Function Keys option
  5. On the right-hand side click on the plus + button
  6. Select the JetBrains PhpStorm app
  7. Add the app

Now, whenever you are using the JetBrains PhpStorm app, the Touch Bar should display all the function keys.