From 8bbc471426e1721eb91bad7afde719f5c6cc2f99 Mon Sep 17 00:00:00 2001 From: Abby Berkers <15685876+slideclimb@users.noreply.github.com> Date: Thu, 13 Mar 2025 07:26:20 +0100 Subject: [PATCH] Added extension point information for customizing action-based toolbars (#1431) * Added extension point information for customizing action-based toolbars * Move customizing action-based toolbars from toolbar UI to actions page * Whitespace --- topics/basics/action_system.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/topics/basics/action_system.md b/topics/basics/action_system.md index 3a1d11bea..128122ada 100644 --- a/topics/basics/action_system.md +++ b/topics/basics/action_system.md @@ -397,6 +397,8 @@ See also [](popups.md#action-groups) for more advanced popups. If an action toolbar is attached to a specific component (for example, a panel in a tool window), call `ActionToolbar.setTargetComponent()` and pass the related component's instance as a parameter. Setting the target ensures that the toolbar buttons' state depends on the state of the related component, not on the current focus location within the IDE frame. +To add an action group to the list of customizable actions in Settings | Appearance & Behavior | Menus and Toolbars, implement the [`CustomizableActionGroupProvider`](%gh-ic%/platform/platform-impl/src/com/intellij/ide/ui/customization/CustomizableActionGroupProvider.java) extension point registered in `com.intellij.customizableActionGroupProvider`, and ensure that the [action group](plugin_configuration_file.md#idea-plugin__actions__group) defines the `text` attribute or is [localized](basic_action_system.md#localizing-actions-and-groups). + See [](toolbar.md) in UI Guidelines for an overview. ## Useful Action Base Classes