fn Touchbar adds the most common function key commands directly to Touchbar. You can select your own subset of buttons and by allowing groups all command buttons will be available.
Here are examples of how your Touchbar may look like.
Maximum number of tools (until you change the configuration of the right side of Touchbar):
Other possible configurations and situations:
As you can see, you are able to disable Visual Studio Code default buttons to get more room for fn Touchbar buttons.
Important If fnTouchbar.all.useToolGroups
is disabled then tool groups are not shown but only selected command
buttons are shown instead.
No group command | Icon | Description |
---|---|---|
com.harrihalttunen.fnTouchbar.action.navigateBack | < | Navigate back, a replacement for workbench.action.navigateBack but with a smaller button |
com.harrihalttunen.fnTouchbar.action.navigateForward | > | Navigate forward, a replacement for workbench.action.navigateForward but with a smaller button |
Debug 🐞 | Icon | Description |
---|---|---|
com.harrihalttunen.fnTouchbar.debug.start | ▶ | Debug, a replacement for workbench.action.debug.start but with smaller button |
com.harrihalttunen.fnTouchbar.debug.run | ▷ | Run, a replacement for workbench.action.debug.run but with smaller button |
editor.debug.action.toggleBreakpoint | ● | Toggle a breakpoint |
editor.debug.action.addLogPoint | ♦ | Add a logpoint. Logs to console instead of stopping execution |
workbench.view.debug | ◧🐞 | Show debug side bar |
Navigation ⎈ | Icon | Description |
---|---|---|
editor.action.previousSelectionFindAction | ←🔍 | Find previous selection |
editor.action.nextSelectionFindAction | 🔎→ | Find next selection |
workbench.view.search | ◧🔎 | Show search side bar |
editor.action.marker.prevInFiles | ←⚠ | Go to previous problem |
editor.action.marker.nextInFiles | ⚠→ | Go to next problem |
workbench.action.showErrorsWarnings | ⚠⬓ | Show errors and warnings panel |
Definition ƒ() | Icon | Description |
---|---|---|
editor.action.revealDefinition | →ƒ() | Reveal definition |
editor.action.goToReferences | ƒ()→ | Go to references |
editor.action.peekDefinition | 👁ƒ() | Peek definition |
references-view.findReferences | 🔎ƒ() | Find references |
editor.action.revealDefinitionAside | ƒ()◨ | Reveal defintion aside |
references-view.findImplementations | ƒ()⇶ | Find all implementations |
Miscellaneous ⋯ | Icon | Description |
---|---|---|
editor.action.rename | ✎… | Rename |
workbench.action.splitEditor | ◫ | Split editor |
workbench.action.togglePanel | ⬓ | Toggle panel |
workbench.action.terminal.toggleTerminal | $>⬓ | Open integrated terminal |
workbench.action.toggleZenMode | ▣ | Zen mode |
workbench.action.showCommands | F1 | Show commands (⇧ ⌘ P) |
fn Touchbar allows you to enable each button individually no matter if groups are in effect or not. You are able to disable Visual Studio Code default buttons to get more room for fn Touchbar buttons.
fnTouchbar.all.useToolGroups
, (defaultfalse
) Sets if the tool groups are enabled or not. If this is disabled then all the selected tools are visible simultaneously but the number of tools is limited about to 4 - 11 depending on other Touchbar settings. If none of tools are not shown star disabling command buttons till other command start to appear in Touchbar. If tool groups are enabled then more of the fn Touchbar tools (possibly all of them depending on other Touchbar settings) can be added to Touchbar and they are available behind group buttons. See also#fnTouchbar.default.navigateBack#
,#fnTouchbar.default.navigateForward#
,#fnTouchbar.debug.start#
and#fnTouchbar.debug.run#
settings to get out the most of fn Touchbar.fnTouchbar.default.navigateBack
, (defaultfalse
) Enables button < (Navigate back). This creates a little bit smaller button into the Touchbar thus giving more room for other buttons. This is recommened to be enabled ifworkbench.action.navigateBack
is disabled from Touchbar (#keyboard.touchbar.ignored#
) or vice versa.fnTouchbar.default.navigateForward
, (defaultfalse
) Enables button > (Navigate forward). This creates a little bit smaller button into the Touchbar thus giving more room for other buttons. This recommened to be enabled ifworkbench.action.navigateForward
is disabled from Touchbar (#keyboard.touchbar.ignored#
) or vice versa.fnTouchbar.debug.start
, (defaultfalse
) Enables button ▶ (Debug). This creates a little bit smaller button into the Touchbar thus giving more room for other buttons. This recommened to be enabled ifworkbench.action.debug.start
is disabled from Touchbar (#keyboard.touchbar.ignored#
) or vice versa.fnTouchbar.debug.run
, (defaultfalse
) Enables button ▷ (Run). This creates a little bit smaller button into the Touchbar thus giving more room for other buttons. This recommened to be enabled ifworkbench.action.debug.run
is disabled from Touchbar (#keyboard.touchbar.ignored#
) or vice versa.fnTouchbar.debug.toggleBreakpoint
, (defaulttrue
) Enables button ● (Toggle breakpoint).fnTouchbar.debug.addLogpoint
, (defaultfalse
) Enables button ♦ (Add logpoint).fnTouchbar.debug.debugView
, (defaultfalse
) Enables button ◧🐞 (Show debug).fnTouchbar.navigation.previousSelectionFindAction
, (defaulttrue
) Enables button ←🔍 (Find previous selection).fnTouchbar.navigation.nextSelectionFindAction
, (defaulttrue
) Enables button 🔎→ (Find next selection).fnTouchbar.navigation.searchView
, (defaultfalse
) Enables button ◧🔎 (Show search).fnTouchbar.navigation.prevInFiles
, (defaultfalse
) Enables button ←⚠ (Go to previous problem).fnTouchbar.navigation.nextInFiles
, (defaultfalse
) Enables button ⚠→ (Go to next problem).fnTouchbar.navigation.showErrorsWarnings
, (defaultfalse
) Enables button ⚠⬓ (Show problems).fnTouchbar.definition.revealDefinition
, (defaulttrue
) Enables button →ƒ() (Reveal definition).fnTouchbar.definition.goToReferences
, (defaultfalse
) Enables button ƒ()→ (Go to references).fnTouchbar.definition.peekDefinition
, (defaultfalse
) Enables button 👁ƒ() (Peek definition).fnTouchbar.definition.findReferences
, (defaultfalse
) Enables button 🔎ƒ() (Find all references).fnTouchbar.definition.revealDefinitionAside
, (defaultfalse
) Enables button ƒ()◨ (Open definition to the side).fnTouchbar.definition.findImplementations
, (defaultfalse
) Enables button ƒ()⇶ (Find all implementations).fnTouchbar.misc.rename
, (defaulttrue
) Enables button ✎… (Rename).fnTouchbar.misc.splitEditor
, (defaultfalse
) Enables button ◫ (Split editor).fnTouchbar.misc.togglePanel
, (defaultfalse
) Enables button ⬓ (Toggle panel).fnTouchbar.misc.toggleTerminal
, (defaultfalse
) Enables button $>⬓ (Toggle integrated terminal).fnTouchbar.misc.toggleZenMode
, (defaultfalse
) Enables button ▣ (Toggle zen mode).fnTouchbar.misc.showCommands
, (defaultfalse
) Enables button F1 (Show command palette).
Notice that the number of buttons that are able to be shown depends on other Touchbar settings. If default Visual Studio Code settings are used then five (5) additional buttons can be added. In practice this means:
- without groups five (5) additional command buttons can be added
- with groups, each group can have maximum of four (4) command buttons per group
If more room for fn Touchbar command buttons are desired then you have an option to disable Visual Studio Code
default command buttons by adding the following settings to settings.json
:
"keyboard.touchbar.ignored": [
"workbench.action.navigateForward",
"workbench.action.navigateBack",
"workbench.action.debug.start",
"workbench.action.debug.run"
],
- Disable all Visual Studio Code default buttons (see above)
- Enable maximum of eleven (11) buttons (otherwise all buttons are hidden)
- It is recommended to have these enabled:
fnTouchbar.default.navigateBack
fnTouchbar.default.navigateForward
- It is recommended to have these enabled:
- Disable Visual Code Studio debug buttons (Start and Run commands):
"keyboard.touchbar.ignored": [
"workbench.action.debug.start",
"workbench.action.debug.run"
],
- Enable
fnTouchbar.all.useToolGroups
- Enable all command buttons
If the command buttons are not shown you probably have enabled too many command buttons for the situation. Try disabling additional command buttons.
Not known at the moment.