Optional
canAllow to select files, defaults to true
.
Optional
canAllow to select folders, defaults to false
.
Optional
canAllow to select many files or folders.
Optional
defaultThe resource the dialog shows when opened.
Optional
filtersA set of file filters that are used by the dialog. Each entry is a human readable label, like "TypeScript", and an array of extensions, e.g.
{
'Images': ['png', 'jpg']
'TypeScript': ['ts', 'tsx']
}
Optional
openA human-readable string for the open button.
Optional
titleDialog title. This parameter might be ignored, as not all operating systems display a title on open dialogs.
Options to configure the behaviour of a file open dialog.
canSelectFiles
andcanSelectFolders
tofalse
is futile and the editor then silently adjusts the options to select files.