Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an action that is shown with an information, warning, or error message.

see

showInformationMessage

see

showWarningMessage

see

showErrorMessage

层级

  • MessageItem

索引

Properties(2)

Properties(2)

title

title: string

A short title like 'Retry', 'Open Log' etc.

Optional isCloseAffordance

isCloseAffordance: boolean

A hint for modal dialogs that the item should be triggered when the user cancels the dialog (e.g. by pressing the ESC key).

Note: this option is ignored for non-modal messages.

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

Generated by TypeDoc. Maintained by 洛竹