Interface: OpenDialogOptions
Defined in: packages/extension-api/src/extension-api.d.ts:2041
Options to configure the behaviour of a file open dialog.
Properties
defaultUri?
optional
defaultUri:Uri
Defined in: packages/extension-api/src/extension-api.d.ts:2045
The resource the dialog shows when opened.
filters?
optional
filters:object
[]
Defined in: packages/extension-api/src/extension-api.d.ts:2061
A set of file filters that are used by the dialog.
extensions
extensions:
string
[]
name
name:
string
openLabel?
optional
openLabel:string
Defined in: packages/extension-api/src/extension-api.d.ts:2050
A human-readable string for the open button.
selectors?
optional
selectors: ("openFile"
|"openDirectory"
|"multiSelections"
|"showHiddenFiles"
)[]
Defined in: packages/extension-api/src/extension-api.d.ts:2056
Contains which features the dialog should use. The following values are supported:
title?
optional
title:string
Defined in: packages/extension-api/src/extension-api.d.ts:2069
Dialog title.