Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OpenDialogOptions

Extenstion of 'vscode.OpenDialogOptions' interface.

Hierarchy

  • OpenDialogOptions
    • OpenDialogOptions

Index

Properties

Optional canSelectFiles

canSelectFiles: boolean

Allow to select files, defaults to true.

Optional canSelectFolders

canSelectFolders: boolean

Allow to select folders, defaults to false.

Optional canSelectMany

canSelectMany: boolean

Allow to select many files or folders.

Optional defaultUri

defaultUri: Uri

The resource the dialog shows when opened.

Optional filters

filters: object

A 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']
}

Type declaration

  • [name: string]: string[]

Optional openLabel

openLabel: string

A human-readable string for the open button.

Generated using TypeDoc