Add setting to disable auto-opening file/diff tabs in VS Code extension

Open 💬 2 comments Opened Jun 14, 2026 by bwatamberg-crypto

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

What I'd like
A setting to stop the VS Code extension from automatically opening an editor
tab/diff view every time Claude reads or edits a file (the tabs labeled
"[Claude Code] <path>"). Something like autoOpenDiffs: false.

Why
When Claude touches several files, the editor fills up with these tabs and I
have to close them manually. I'd like to keep using the graphical chat panel
(not terminal mode) but suppress the auto-opened tabs.

Current state
There is no extension setting for this today. The only workaround is
useTerminal: true, which moves everything into the terminal and removes the
graphical panel — not what I want.

Environment
VS Code extension, Windows 11.

Proposed Solution

Add an extension setting (e.g. autoOpenDiffs: false) that keeps the graphical
chat panel but stops Claude from automatically opening editor tabs / diff views
when it reads or edits files. The diffs should still be reviewable inside the
chat panel, just without spawning separate editor tabs.

Alternative Solutions

  • useTerminal: true — works (no editor tabs), but removes the graphical chat

panel entirely, so it's not an acceptable option for me.

  • Manually closing each tab after edits — tedious and disrupts the workflow.
  • A "close all Claude Code tabs" command would help a little, but a setting to

not open them in the first place is the real fix.

Priority

Low - Nice to have

Feature Category

Configuration and settings

Use Case Example

  1. I'm editing several files in one Claude Code session (e.g. a macro file plus

a documentation file).

  1. For each file Claude reads or edits, a new "[Claude Code] <path>" editor tab

opens automatically.

  1. After a few edits I have 5-6 tabs open that I never asked for and have to

close one by one.

  1. With this setting (autoOpenDiffs: false) those tabs would not open at all,

while I keep using the graphical chat panel.

Additional Context

This is purely a quality-of-life request for the graphical VS Code panel. Most
noticeable when Claude edits multiple files in one turn. Thanks!

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗