switch to the corresponding channel on message.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2020-07-21 19:34:43 +02:00
parent 230bacfd01
commit 8b27cd7bb9

View File

@ -15,6 +15,7 @@ export class ToolOutputServiceClientImpl implements ToolOutputServiceClient {
onNewOutput(tool: string, chunk: string): void { onNewOutput(tool: string, chunk: string): void {
this.outputContribution.openView().then(() => { this.outputContribution.openView().then(() => {
const channel = this.outputChannelManager.getChannel(`Arduino: ${tool}`); const channel = this.outputChannelManager.getChannel(`Arduino: ${tool}`);
channel.show();
channel.append(chunk); channel.append(chunk);
}); });
} }