Change highlighting

This commit is contained in:
Thorsten Muerell
2017-11-01 15:40:55 +01:00
parent fff01cd2c7
commit 096159ce1a
3 changed files with 8 additions and 4 deletions

View File

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

View File

@@ -9,7 +9,7 @@
<string>log</string>
</array>
<key>name</key>
<string>Log file</string>
<string>frog-runner</string>
<key>patterns</key>
<array>
<dict>
@@ -44,5 +44,7 @@
<string>invalid.illegal</string>
</dict>
</array>
<key>uuid</key>
<string>648a6fba-bf11-11e7-abc4-cec278b6b50a</string>
</dict>
</plist>