A1: tab management: preview tabs, pinning, close actions, reopen closed tab, split into two groups
- Pure tab model (components/editor/tabs/model.ts) with Vitest coverage. - Editor store keeps one buffer sync per buffer and a group layout; a buffer in both groups shares text and undo. Bulk closes ask once with a list. - Tab context menu, tabs.* UI commands (COMMAND_IDS) in a Window menu group, no default shortcuts; Show Local History appears once history.show exists. - Single click in the tree, Find and Go-to opens preview tabs. - Layout stored through layout.set and restored on project open. - Public API for other areas: tabOfPath, tabOf, reloadBuffer, openFile. - Docs: ui-parity, gaps (G2), architecture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
02922eb89d
commit
7f309dbc4e
28 changed files with 3003 additions and 211 deletions
|
|
@ -26,6 +26,19 @@
|
|||
"command.palette.open": "Command Palette",
|
||||
"command.problems.open": "Problems",
|
||||
"command.settings.open": "Settings…",
|
||||
"command.tabs.closeAll": "Close All Tabs",
|
||||
"command.tabs.closeLeft": "Close Tabs to the Left",
|
||||
"command.tabs.closeOthers": "Close Other Tabs",
|
||||
"command.tabs.closeRight": "Close Tabs to the Right",
|
||||
"command.tabs.closeUnmodified": "Close Unmodified Tabs",
|
||||
"command.tabs.focusOtherGroup": "Focus Other Group",
|
||||
"command.tabs.keepOpen": "Keep Tab Open",
|
||||
"command.tabs.moveToOtherGroup": "Move Tab to Other Group",
|
||||
"command.tabs.reopenClosed": "Reopen Closed Tab",
|
||||
"command.tabs.splitDown": "Split Down",
|
||||
"command.tabs.splitRight": "Split Right",
|
||||
"command.tabs.togglePin": "Pin or Unpin Tab",
|
||||
"command.tabs.unsplit": "Unsplit",
|
||||
"command.terminal.open": "Terminal",
|
||||
"command.unavailable": "{command} cannot run right now",
|
||||
"command.vcs.abortMerge": "Abort Merge…",
|
||||
|
|
@ -62,6 +75,7 @@
|
|||
"common.dontSave": "Don't Save",
|
||||
"common.error.unexpectedResult": "unexpected result of {command}",
|
||||
"common.save": "Save",
|
||||
"common.saveAll": "Save All",
|
||||
"common.toolWindow.bottomTabs": "Bottom tool windows",
|
||||
"common.toolWindow.collapse": "Collapse {title}",
|
||||
"common.toolWindow.expand": "Expand {title}",
|
||||
|
|
@ -212,6 +226,7 @@
|
|||
"editor.chunk.unstage": "Unstage",
|
||||
"editor.chunk.unstaged": "Not staged",
|
||||
"editor.closePrompt.question": "Save changes to {name} before closing?",
|
||||
"editor.closePrompt.questionMany": "Save changes to these {count} files before closing?",
|
||||
"editor.gitGutter.added": "Added since the staged version",
|
||||
"editor.gitGutter.deleted": "Lines deleted here since the staged version",
|
||||
"editor.gitGutter.modified": "Changed since the staged version",
|
||||
|
|
@ -222,7 +237,14 @@
|
|||
"editor.reveal.openFailed": "could not open {path}",
|
||||
"editor.saveFailed": "save failed",
|
||||
"editor.tabs.close": "Close {name}",
|
||||
"editor.tabs.group": "Editor group {n}",
|
||||
"editor.tabs.label": "Editor tabs",
|
||||
"editor.tabs.menu.close": "Close",
|
||||
"editor.tabs.menu.label": "Actions for {name}",
|
||||
"editor.tabs.menu.pin": "Pin Tab",
|
||||
"editor.tabs.menu.showHistory": "Show Local History",
|
||||
"editor.tabs.menu.unpin": "Unpin Tab",
|
||||
"editor.tabs.pinned": "pinned",
|
||||
"editor.tabs.unsaved": "unsaved changes",
|
||||
"find.action.search": "Search",
|
||||
"find.count.files.one": "1 file",
|
||||
|
|
@ -266,6 +288,7 @@
|
|||
"menu.group.go": "Go",
|
||||
"menu.group.help": "Help",
|
||||
"menu.group.view": "View",
|
||||
"menu.group.window": "Window",
|
||||
"menu.label": "Main menu",
|
||||
"nav.definition.none": "No definition found for {name}",
|
||||
"nav.picker.line": "line {line}",
|
||||
|
|
@ -432,6 +455,8 @@
|
|||
"settings.editor.hover.delayMs.label": "Documentation tooltip delay (ms)",
|
||||
"settings.editor.lineHeight.description": "Height of each editor line relative to the font size. 150 means one and a half times the font size.",
|
||||
"settings.editor.lineHeight.label": "Editor line height (%)",
|
||||
"settings.editor.tabs.preview.description": "A single click in the project tree, search results or Go to opens a preview tab that the next one replaces. Editing it or a double click keeps it open.",
|
||||
"settings.editor.tabs.preview.label": "Preview tabs",
|
||||
"settings.error.browseFailed": "The file picker could not open: {message}",
|
||||
"settings.error.int": "Enter a whole number",
|
||||
"settings.error.intRange": "Enter a whole number from {min} to {max}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue