Skip to content

Configuration

Buttons contributes two settings, both configurable at User and Workspace scope.

Text size used in the Buttons UI, relative to VS Code’s font size.

Value Description
default VS Code default text size
plus2 VS Code default + 2px
plus4 VS Code default + 4px

Default: default. You can also click the gear icon in the panel header to jump straight to this setting.

Which script files to scan for runnable commands.

Value Description
package.json Included by default
Makefile Opt-in
composer.json Opt-in
justfile Opt-in

Default: ["package.json"]. Enable the others to scan them; add unsupported file types as custom commands instead.

Changes are stored in VS Code’s own settings (settings.json), not in .buttons.json:

{
"buttons.textSize": "plus2",
"buttons.scriptFiles": ["package.json", "Makefile", "justfile"]
}

Both settings are window-scoped, so you can set them at User level (apply everywhere) or Workspace level (apply to the current project).

Open the settings page from the gear icon in the panel header, or via Command Palette → Preferences: Open Settings and searching for “Buttons”.