Skip to content

Always open diff in new window #246781

Closed as not planned
Closed as not planned
@curlychoi

Description

@curlychoi

Background
Currently, VS Code (and Cursor IDE) displays all file diffs inside editor tabs by default. There is no setting to automatically open diff views in a separate OS window, so users must manually move each diff into its own window.

Proposal
Add a new configuration option:

  • "diffEditor.openInNewWindow": boolean — when true, diff views open in a new OS window.
  • Or flexibly:
    "diffEditor.openLocation": "tab" | "split" | "newWindow"

Benefits & Example Usage

  • Isolates diff views for better focus during code reviews.
  • Enables side‑by‑side comparison across multiple windows.
  • Aligns VS Code with IntelliJ‑style workflows.
  • Example settings:
    // settings.json
    {
      "diffEditor.openInNewWindow": true
    }

Additional Context
JetBrains IDEs (IntelliJ IDEA, PhpStorm) already support this out of the box. Adding it to VS Code would meet user expectations and streamline reviews.

Labels: feature-request

Metadata

Metadata

Assignees

No one assigned

    Labels

    diff-editorDiff editor issuesfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions