Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SaveDialogOptions

Options to configure the behaviour of a file save dialog.

层级

  • SaveDialogOptions

索引

Properties(4)

Properties(4)

Optional defaultUri

defaultUri: Uri

The resource the dialog shows when opened.

Optional saveLabel

saveLabel: string

A human-readable string for the save button.

Optional filters

filters: {}

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 title

title: string

Dialog title.

This parameter might be ignored, as not all operating systems display a title on save dialogs (for example, macOS).

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹