shell tab

This commit is contained in:
Jan Prochazka
2021-03-11 14:37:40 +01:00
parent 913f89e970
commit cedb740fb0
7 changed files with 232 additions and 52 deletions

View File

@@ -67,7 +67,7 @@
const status = writable({
busy,
isConnected: false,
canKill: false,
});
$: connection = useConnectionInfo({ conid });
@@ -93,7 +93,7 @@
$: {
status.set({
busy,
isConnected: !!sessionId,
canKill: !!sessionId,
});
}
@@ -186,6 +186,8 @@
function createMenu() {
return [
{ command: 'query.execute' },
{ command: 'query.kill' },
{ divider: true },
{ command: 'query.toggleComment' },
{ command: 'query.formatCode' },
{ divider: true },