feat(f6): contribute toggleDiffView + pinDiffBaseline commands + ctrl+alt+d (SLICE-3)

F6 §5/§6.4. Palette-visible commands; ctrl+alt+d (when editorTextFocus),
unbound in stock VS Code, user-remappable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-06-11 07:16:20 -07:00
parent 17976809bf
commit 26474950df
+18 -1
View File
@@ -73,6 +73,16 @@
"command": "cowriting.proposeAgentEdit", "command": "cowriting.proposeAgentEdit",
"title": "Propose Agent Edit (internal seam)", "title": "Propose Agent Edit (internal seam)",
"category": "Cowriting" "category": "Cowriting"
},
{
"command": "cowriting.toggleDiffView",
"title": "Cowriting: Toggle Diff View",
"category": "Cowriting"
},
{
"command": "cowriting.pinDiffBaseline",
"title": "Cowriting: Pin Diff Baseline to Now",
"category": "Cowriting"
} }
], ],
"menus": { "menus": {
@@ -135,7 +145,14 @@
"when": "commentController == cowriting.proposals" "when": "commentController == cowriting.proposals"
} }
] ]
} },
"keybindings": [
{
"command": "cowriting.toggleDiffView",
"key": "ctrl+alt+d",
"when": "editorTextFocus"
}
]
}, },
"scripts": { "scripts": {
"build": "node esbuild.mjs", "build": "node esbuild.mjs",