Repository navigation
feat: Expose ViewColumn.Modal in API - #307838
Open
Marlin Ranasinghe (MarlzRana) wants to merge 2 commits into
Open
Marlin Ranasinghe (MarlzRana) wants to merge 2 commits into
Marlin Ranasinghe (MarlzRana) wants to merge 2 commits into
Conversation
Marlin Ranasinghe (MarlzRana)
requested review from
Alex Ross (alexr00),
Johannes Rieken (jrieken) and
Matt Bierner (mjbvz)
as code owners
April 4, 2026 18:34
Author
|
@microsoft-github-policy-service agree |
…l-view-via-extensions-api # Conflicts: # src/vs/workbench/api/test/common/extHostTypeConverters.test.ts
Marlin Ranasinghe (MarlzRana)
requested a review
from TylerLeonhardt
as a code owner
August 15, 2026 22:10
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new ViewColumn.Modal symbolic editor column to support opening editors in a modal overlay, and wires it through extension-host type conversion with test coverage.
Changes:
- Introduce
ViewColumn.Modal = -4in VS Code API typings (vscode.d.ts) and extension-host types. - Update
ViewColumn.from(...)conversion to mapModaltoMODAL_GROUP. - Add unit tests verifying
ViewColumnconversions, including the new modal behavior.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/vscode-dts/vscode.d.ts | Adds the public API typing and documentation for ViewColumn.Modal. |
| src/vs/workbench/api/common/extHostTypes.ts | Adds Modal to the extension-host ViewColumn enum. |
| src/vs/workbench/api/common/extHostTypeConverters.ts | Maps ViewColumn.Modal to the workbench MODAL_GROUP for editor opening. |
| src/vs/workbench/api/test/common/extHostTypeConverters.test.ts | Adds tests covering ViewColumn.from/to, including the new modal mapping. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
|
Benjamin Christopher Simmonds (@benibenj) is there any prospect of this landing? I'm guessing the team may want it initially gated as proposed API. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #307835
ViewColumn.Modal(-4) to the API enumMODAL_GROUPinextHostTypeConvertersTest Plan
extHostTypeConverters.test.ts)ViewColumn.Modalopens editor in modal overlayExpose.Modal.View.via.Extension.API.mp4