mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-17 22:29:27 +00:00
First stop towards compile/verify
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { ToolOutputServiceClient } from "../../common/protocol/tool-output-service";
|
||||
import { injectable, inject } from "inversify";
|
||||
import { OutputChannelManager } from "@theia/output/lib/common/output-channel";
|
||||
|
||||
@injectable()
|
||||
export class ToolOutputServiceClientImpl implements ToolOutputServiceClient {
|
||||
|
||||
@inject(OutputChannelManager)
|
||||
protected readonly outputChannelManager: OutputChannelManager;
|
||||
|
||||
onNewOutput(tool: string, chunk: string): void {
|
||||
const channel = this.outputChannelManager.getChannel(`Arduino: ${tool}`);
|
||||
channel.append(chunk);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user