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

@@ -2,7 +2,7 @@
"name": "frog",
"displayName": "frog",
"description": "The Oracle SQL workbench for VSCode",
"version": "0.0.7",
"version": "0.0.9",
"publisher": "todie",
"engines": {
"vscode": "^1.17.0"
@@ -56,7 +56,7 @@
{
"language": "frog-runner",
"scopeName": "code.log",
"path": "./src/syntaxes/frog-runner.tmLanguage"
"path": "./src/frog-runner.tmLanguage"
}
]
},

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>