Auto-refresh OE with table designer (#23370)

This commit is contained in:
Hai Cao
2023-06-12 09:16:41 -07:00
committed by GitHub
parent c98cbc0896
commit 437f216cda
11 changed files with 63 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ export function RefreshObjectExplorerError(error: string): string {
return localize({
key: 'objectManagement.refreshOEError',
comment: ['{0}: error message.']
}, "An error occurred while while refreshing the object explorer. {0}", error);
}, "An error occurred while refreshing the object explorer. {0}", error);
}
export function DeleteObjectConfirmationText(objectType: string, objectName: string): string {

View File

@@ -38,7 +38,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
connectionString: connectionString,
accessToken: context.connectionProfile!.options.azureAccountToken,
tableIcon: tableIcon
}, telemetryInfo);
}, telemetryInfo, context);
} catch (error) {
console.error(error);
await vscode.window.showErrorMessage(getErrorMessage(error), { modal: true });
@@ -70,7 +70,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
connectionString: connectionString,
accessToken: context.connectionProfile!.options.azureAccountToken,
tableIcon: tableIcon
}, telemetryInfo);
}, telemetryInfo, context);
} catch (error) {
console.error(error);
await vscode.window.showErrorMessage(getErrorMessage(error), { modal: true });