Merge from vscode 52dcb723a39ae75bee1bd56b3312d7fcdc87aeed (#6719)

This commit is contained in:
Anthony Dresser
2019-08-12 21:31:51 -07:00
committed by GitHub
parent 00250839fc
commit 7eba8c4c03
616 changed files with 9472 additions and 7087 deletions

View File

@@ -29,6 +29,26 @@ export interface INotificationProperties {
* catch some attention.
*/
silent?: boolean;
/**
* Adds an action to never show the notification again. The choice will be persisted
* such as future requests will not cause the notification to show again.
*/
neverShowAgain?: INeverShowAgainOptions;
}
export interface INeverShowAgainOptions {
/**
* The id is used to persist the selection of not showing the notification again.
*/
id: string;
/**
* By default the action will show up as primary action. Setting this to true will
* make it a secondary action instead.
*/
isSecondary?: boolean;
}
export interface INotification extends INotificationProperties {
@@ -270,4 +290,4 @@ export class NoOpProgress implements INotificationProgress {
done(): void { }
total(value: number): void { }
worked(value: number): void { }
}
}