diff --git a/src/sql/workbench/contrib/query/browser/keyboardQueryActions.ts b/src/sql/workbench/contrib/query/browser/keyboardQueryActions.ts index 08defe2b95..8c3366304a 100644 --- a/src/sql/workbench/contrib/query/browser/keyboardQueryActions.ts +++ b/src/sql/workbench/contrib/query/browser/keyboardQueryActions.ts @@ -143,6 +143,7 @@ export class CopyQueryWithResultsKeyboardAction extends Action { @IEditorService private _editorService: IEditorService, @IClipboardService private _clipboardService: IClipboardService, @IQueryModelService protected readonly queryModelService: IQueryModelService, + @INotificationService private readonly notificationService: INotificationService ) { super(id, label); } @@ -196,6 +197,11 @@ export class CopyQueryWithResultsKeyboardAction extends Action { }; await this._clipboardService.write(data); + + this.notificationService.notify({ + severity: Severity.Info, + message: nls.localize('queryActions.queryResultsCopySuccess', "Successfully copied query and results.") + }); } } }