-
Notifications
You must be signed in to change notification settings - Fork 36.7k
Open
Description
Add a user-facing setting to hide the commit message input box in the Source Control panel.
Use Case
When using VS Code with multiple repositories in a workspace, the Source Control panel displays a commit input box for each repository. For users who:
- Prefer committing via terminal/CLI (e.g., using Claude Code, git CLI, or other tools)
- Want a cleaner, more compact Source Control view
- Only use the panel to view changed files, not to commit
The input boxes take up significant vertical space (34px per repository) and cannot currently be hidden.
Current Workarounds
scm.inputMinLineCount: 1andscm.inputMaxLineCount: 1reduce height but don't hide the box- CSS injection via extensions can hide the content but cannot collapse the gap due to VS Code's virtualized list using JavaScript-calculated inline styles for row positioning
- The
SourceControlInputBox.visibleproperty exists in the API but is only accessible to SCM provider extensions, not end users
Proposed Solution
Add a setting like:
"scm.showInputBox": falseOr per-provider:
"git.showInputBox": falseThis would:
- Hide the input box rows in the Source Control panel
- Collapse the space they occupy (update the virtualized list to skip these rows)
- Still allow commits via command palette, terminal, or other means
Additional Context
- Related: The
git.showActionButtonsetting successfully hides commit/sync/publish buttons - Related:
SourceControlInputBox.visibleAPI exists for extension authors (issue Test: Hide SCM commit input box #62068, PR Allow scc providers hide commit input box. #60051) - This would bring user-facing parity with what extension authors can already do programmatically
System Info
- VS Code Version: 1.106.3 (latest stable)
- OS: Linux (Arch)
Metadata
Metadata
Assignees
Labels
No labels