diff --git a/.vscode/settings.json b/.vscode/settings.json index 6808821e..a97be54e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,5 +14,18 @@ "source.fixAll.eslint": "explicit" }, "jest.jestCommandLine": "node_modules/.bin/jest", - "jest.monitorLongRun": 300000 + "jest.monitorLongRun": 300000, + "python.autoComplete.extraPaths": [ + "${workspaceFolder}/yocto-build/sources/poky/bitbake/lib", + "${workspaceFolder}/yocto-build/sources/poky/meta/lib" + ], + "python.analysis.extraPaths": [ + "${workspaceFolder}/yocto-build/sources/poky/bitbake/lib", + "${workspaceFolder}/yocto-build/sources/poky/meta/lib" + ], + "files.associations": { + "*.txt": "diff", + "*.conf": "bitbake", + "*.inc": "bitbake" + } } diff --git a/client/src/ui/BitbakeTerminal.ts b/client/src/ui/BitbakeTerminal.ts index da9ba930..440840b8 100644 --- a/client/src/ui/BitbakeTerminal.ts +++ b/client/src/ui/BitbakeTerminal.ts @@ -103,6 +103,7 @@ export class BitbakePseudoTerminal implements vscode.Pseudoterminal { } handleInput (data: string): void { + logger.warn('EDRT Received input:' + data) if (this.process === undefined) { this.closeEmitter.fire(0) if (!this.isTaskTerminal()) { bitbakeTerminals.splice(bitbakeTerminals.indexOf(this.parentTerminal as BitbakeTerminal), 1) } @@ -113,6 +114,8 @@ export class BitbakePseudoTerminal implements vscode.Pseudoterminal { void this.bitbakeDriver.killBitbake() } } + process?.stdin.write(data) + if ((process?.send) != null) { process?.send(data) } } }