|
|
@ -114,6 +114,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
|
|
|
|
|
|
|
|
|
myOutputChannel.append("-- " + new Date() + " -------------------------------\n");
|
|
|
|
myOutputChannel.append("-- " + new Date() + " -------------------------------\n");
|
|
|
|
outputBuffer = "";
|
|
|
|
outputBuffer = "";
|
|
|
|
|
|
|
|
statusBarItem.text = currentConnection.name + " (Connected)";
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.log(e);
|
|
|
|
console.log(e);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -121,7 +122,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
dbSession.stderr.on('data', (data) => {
|
|
|
|
dbSession.stderr.on('data', (data) => {
|
|
|
|
myOutputChannel.show();
|
|
|
|
myOutputChannel.show(true);
|
|
|
|
myOutputChannel.append(data.toString());
|
|
|
|
myOutputChannel.append(data.toString());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -139,6 +140,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
|
|
|
|
|
|
|
|
|
myOutputChannel.append("-- " + new Date() + " -------------------------------\n"); //Executing: '" + text + "'\n");
|
|
|
|
myOutputChannel.append("-- " + new Date() + " -------------------------------\n"); //Executing: '" + text + "'\n");
|
|
|
|
dbSession.stdin.write(text + "\n--- END ---\n");
|
|
|
|
dbSession.stdin.write(text + "\n--- END ---\n");
|
|
|
|
|
|
|
|
statusBarItem.text = currentConnection.name + " (Connected, Query running...)";
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
context.subscriptions.push(disposable, registration);
|
|
|
|
context.subscriptions.push(disposable, registration);
|
|
|
|