Skip to content

Conversation

@kgn
Copy link

@kgn kgn commented Dec 5, 2025

Summary

Add scm.showInputBox setting that allows users to hide the commit message input box in the Source Control view.

  • Adds new boolean setting scm.showInputBox (default: true)
  • Filters input box elements from the SCM tree when setting is false
  • Refreshes the tree when setting changes

Use Case

This is useful for users who:

  • Prefer committing via terminal/CLI (e.g., using git CLI or other tools)
  • Want a cleaner, more compact Source Control view
  • Only use the panel to view changed files, not to commit

Fixes #281562

Add `scm.showInputBox` setting that allows users to hide the commit
message input box in the Source Control view.

This is useful for users who prefer committing via terminal/CLI and
want a cleaner, more compact Source Control view focused on viewing
changed files rather than committing.

Fixes microsoft#281562
@vs-code-engineering
Copy link

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • src/vs/workbench/contrib/scm/browser/scm.contribution.ts
  • src/vs/workbench/contrib/scm/browser/scmViewPane.ts

@kgn
Copy link
Author

kgn commented Dec 6, 2025

@microsoft-github-policy-service agree

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.

Add setting to hide Source Control commit input box (scm.showInputBox)

2 participants