Skip to content

Is there a plan for vscode sdk to support Dialog API? #171138

@yiliang114

Description

@yiliang114

image

Now in the vscode sdk, there are already two APIs about dialog, but unfortunately, it is combined with the file system.

  1. showOpenDialog
  2. showSaveDialog

We cannot open a Dialog for the time being and use custom content. eg: When we want to delete a file, we want to appear a Dialog to let the user confirm whether to delete it. In this case, the reminder in the lower right corner (use showInformationMessage) may not be very noticeable.

Is it possible to expose a new api, which the possible name is vscode.window.showDialog,Maybe we can fully refer to the parameter of dialogService.show for showDialog.

I tried to search the list of issue, but I didn't find anything. Don't you have such a need?

If there is no plan to support it, I would like to know how does the official team consider this issue(that there is no support customized dialog api for extension)?

Metadata

Metadata

Assignees

Labels

apidialogsIssues with native and custom dialogsinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions