дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 09:41:34 +02:00
Adds the `customEditor.toolbar` menu location (plugin API 1.21). A `[[contributes.menus]]` entry with `view` naming one of the plugin's own split or preview custom editors puts its command as an icon button in a thin strip above the text half of that editor; `when` works as for other menus. The host rejects a missing or unknown `view`, a tab-layout editor, unknown commands and submenus at install time. Buttons use the command's icon (else the plugin icon), the command title as tooltip and aria-label, and run with the same editor context as editor.title; the strip is hidden in preview-only mode and when nothing applies. Closes #7796 Co-authored-by: wildcatDownstairs <[email protected]>