posit-dev / posit-dev/positron

Add API to allow extensions to open editors in a modal

Open
#16,082 0 comments 1 reaction 1 assignee View on GitHub

@bricestacey is already working on this.

Since Sep 14, 2026.

area: assistant
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

VSCode added support for opening editors in a modal overlay. The API is not exposed to extensions, but it would be nice if it were available.

Workbench extension: Open the job submission form
https://github.com/rstudio/rstudio-pro/issues/12764

Assistant: Open the model provider modal
https://github.com/posit-dev/positron/issues/16016

We've implemented it a couple ways already:

Core: Modal editor using PositronReactRenderer
https://github.com/posit-dev/positron/compare/issue/14695-spike-where-how-to-integrate-new-provide

Extensions: Enhances the vscode.window.createWebViewPanel API
https://github.com/posit-dev/assistant/compare/main...prototype/local-assistant-auth

Here seems to be a more generalized upstream solution that is worth considering: https://github.com/microsoft/vscode/pull/307838

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.