Skip to content

Agents - add editor layout toolbar to the editor title#311007

Merged
lszomoru merged 7 commits intomainfrom
lszomoru/editor-layout-toolbar
Apr 20, 2026
Merged

Agents - add editor layout toolbar to the editor title#311007
lszomoru merged 7 commits intomainfrom
lszomoru/editor-layout-toolbar

Conversation

@lszomoru
Copy link
Copy Markdown
Member

@lszomoru lszomoru commented Apr 17, 2026

Adds a new editor layout toolbar for the editor part in the Agents app.
image

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 17, 2026

Screenshot Changes

Base: ace385c3 Current: 6e9a047a

Changed (37)

chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SessionsSkillsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SessionsSkillsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTabScrolled/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTabScrolled/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTabScrolled/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTabScrolled/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabNarrow/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabNarrow/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTabNarrow/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTabNarrow/Light
Before After
before after
agentSessionsViewer/CompletedUnread/Dark
Before After
before after
agentSessionsViewer/CompletedUnread/Light
Before After
before after
agentSessionsViewer/WithDiffChanges/Dark
Before After
before after
agentSessionsViewer/WithDiffChanges/Light
Before After
before after

Added (14)

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByUser/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByUser/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByPolicy/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByPolicy/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByUser/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByUser/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByPolicy/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByPolicy/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsItemEditor/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsItemEditor/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServerDetail/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServerDetail/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginDetail/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginDetail/Light

current

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR explores adding dedicated “layout” controls to the editor title by introducing a separate toolbar/menu for layout-related actions and adjusting the wrapped-tabs layout to account for this extra action area.

Changes:

  • Added a new MenuId.EditorTitleLayout and wired a second “layout actions” toolbar into EditorTabsControl.
  • Updated multi-editor tab wrapping layout to reserve space for the additional toolbar area.
  • Moved Sessions window maximize/restore actions into the new layout menu and added a new “Close Editor” action entry.
Show a summary per file
File Description
src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts Accounts for an additional actions container width when computing wrapped-tab margins/overlaps.
src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css Adds styling/positioning for a separator and a trailing actions area, including wrapping behavior.
src/vs/workbench/browser/parts/editor/editorTabsControl.ts Introduces a second toolbar for layout actions and the associated lifecycle/update logic.
src/vs/sessions/contrib/changes/browser/changesViewActions.ts Registers Sessions-specific actions under EditorTitleLayout and adds a new “Close Editor” action entry.
src/vs/platform/actions/common/actions.ts Adds MenuId.EditorTitleLayout.
build/lib/stylelint/vscode-known-variables.json Adds the new CSS variable name to the allowlist.

Copilot's findings

  • Files reviewed: 6/6 changed files
  • Comments generated: 5

Comment thread src/vs/sessions/contrib/changes/browser/changesViewActions.ts Outdated
Comment thread src/vs/workbench/browser/parts/editor/editorTabsControl.ts
Comment thread src/vs/workbench/browser/parts/editor/editorTabsControl.ts Outdated
Comment thread src/vs/workbench/browser/parts/editor/editorTabsControl.ts
@lszomoru lszomoru marked this pull request as ready for review April 17, 2026 19:37
@lszomoru lszomoru enabled auto-merge (squash) April 17, 2026 19:38
@lszomoru lszomoru changed the title Editor - exploration for layout controls in the editor title Agents - add editor layout toolbar to the editor title Apr 17, 2026
@sandy081 sandy081 self-requested a review April 20, 2026 16:17
@lszomoru lszomoru merged commit df017eb into main Apr 20, 2026
26 checks passed
@lszomoru lszomoru deleted the lszomoru/editor-layout-toolbar branch April 20, 2026 16:48
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants