revert the language clent channel change (#21872)

This commit is contained in:
Alan Ren
2023-02-08 11:24:10 -08:00
committed by GitHub
parent 680d12163d
commit 0f0960d0e7

View File

@@ -196,6 +196,28 @@ function getClientOptions(context: AppContext): ClientOptions {
ExecutionPlanServiceFeature, ExecutionPlanServiceFeature,
TdeMigrationService.asFeature(context), TdeMigrationService.asFeature(context),
], ],
outputChannel: outputChannel outputChannel: new CustomOutputChannel()
}; };
} }
class CustomOutputChannel implements vscode.OutputChannel {
name: string;
append(value: string): void {
console.log(value);
}
appendLine(value: string): void {
console.log(value);
}
clear(): void {
}
show(preserveFocus?: boolean): void;
show(column?: vscode.ViewColumn, preserveFocus?: boolean): void;
show(column?: any, preserveFocus?: any) {
}
hide(): void {
}
dispose(): void {
}
replace(_value: string): void {
}
}