Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion vscode-plugin/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,18 @@ export class Client {
if (this.noConnectionEstablishedBefore) {
this.noConnectionEstablishedBefore = false;
await this.events.onDidConnectFirstTimeEventEmitter.fire();
await Promise.all([
this.provideLogChannel(),
this.provideGTestChannel()
]);
}
if (!this.isConnectionEstablished()) {
messages.showInfoMessage(messages.successfullyConnected);
logger.info('Successfully connected to server');
await Promise.all([
this.provideLogChannel(),
this.provideGTestChannel()
]);
}
if (this.newClient || !response.getLinked()) {
await Promise.all([
Expand Down Expand Up @@ -238,7 +246,6 @@ export class Client {

private async writeGTestLog(responseAny: any): Promise<void> {
const gtestEntry = responseAny as LogEntry;
utbotUI.channels().outputGTestChannel.show(true);
utbotUI.channels().outputGTestChannel.appendLine(gtestEntry.getMessage());
}

Expand Down