IntelliJ IDEA 2018.2 Help

Touch Bar Support

The Touch Bar is located above the keyboard on supported Apple MacBook Pro models. It provides additional controls for quick access based on the current context.

The Touch Bar

The Control Strip in the right part of the Touch Bar includes controls for system-level tasks that are usually accessed with function keys on classic keyboards. The app region to the left of the Control Strip contains controls that are specific to IntelliJ IDEA and the current context. One more system button is located in the left part of the Touch Bar; this is usually the Escape key, but it can be something else depending on the context.

IntelliJ IDEA provides the following contexts:

  • Default context is used most of the time.

    It includes controls for running, building, and debugging the application with the ability to quickly select or create a new run/debug configuration. It also provides VCS controls for updating your project and committing changes, which can be replaced in some contexts (for example, with the refresh action when focus is on the Maven Projects Tool Window or the Gradle Tool Window).

    Default context with Maven refresh

    For more controls, you can use modifier keys: Cmd, Alt, Shift, and Alt+Cmd.

  • Debugger context is used when focus is on the Debug Tool Window.

    It includes controls to stop, pause, resume the debugger, as well as stepping and evaluating expressions.

    The Touch Bar in debugger context

    For more controls, hold down the Alt key.

  • When focus is on a dialog, confirmation controls are displayed (for example, Cancel, Apply, OK, or other relevant buttons).

    The Touch Bar with dialog confirmation buttons

Customize the Touch Bar

You can configure the controls displayed on the Touch Bar in the default and debugger context.

  1. Open Settings / Preferences (Ctrl+Alt+S), click Appearance & Behavior, then click Menus and Toolbars.

  2. Expand the Touch Bar node and configure the controls for corresponding contexts and modifier keys.

  3. Apply changes when finished.

Last modified: 25 October 2018