posit-dev / posit-dev/positron
Add API to allow extensions to open editors in a modal
@bricestacey is already working on this.
Since Sep 14, 2026.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.