Skip to content

API: Expose ViewColumn.Modal to allow extensions to open editors in modal overlay #307835

Description

Feature Request

Problem

Extensions currently have no way to open editors in the modal overlay introduced with the workbench-modal-editor work. The ViewColumn enum only supports Active, Beside, and numbered columns.

Proposed Solution

Add a ViewColumn.Modal enum value (-4) that maps to MODAL_GROUP, allowing extensions to open editors in the modal overlay via showTextDocument and similar APIs:

vscode.window.showTextDocument(doc, { viewColumn: vscode.ViewColumn.Modal });

Implemented in this PR: #307838

Related

Activity

  1. Logonz commented on Apr 8, 2026

    @Logonz

    It's crazy how many features vscode can use that us extension developers never get access to.
    Thumbed up!

  2. vs-code-engineering commented on Apr 13, 2026

    @vs-code-engineering
    Contributor

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  3. MarlzRana commented on Apr 16, 2026

    @MarlzRana
    Author

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

    FYI: #307838

  4. vs-code-engineering commented on May 19, 2026

    @vs-code-engineering
    Contributor

    🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apifeature-requestworkbench-modal-editor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions