mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 12:43:58 +00:00
main menu changes
This commit is contained in:
@@ -5,12 +5,16 @@ module.exports = [
|
|||||||
{ command: 'new.connection', hideDisabled: true },
|
{ command: 'new.connection', hideDisabled: true },
|
||||||
{ command: 'new.sqliteDatabase', hideDisabled: true },
|
{ command: 'new.sqliteDatabase', hideDisabled: true },
|
||||||
{ divider: true },
|
{ divider: true },
|
||||||
|
{ command: 'new.query', hideDisabled: true },
|
||||||
|
{ command: 'new.freetable', hideDisabled: true },
|
||||||
|
{ command: 'new.shell', hideDisabled: true },
|
||||||
|
{ command: 'new.jsonl', hideDisabled: true },
|
||||||
|
{ divider: true },
|
||||||
{ command: 'file.open', hideDisabled: true },
|
{ command: 'file.open', hideDisabled: true },
|
||||||
{ command: 'file.openArchive', hideDisabled: true },
|
{ command: 'file.openArchive', hideDisabled: true },
|
||||||
{ divider: true },
|
{ divider: true },
|
||||||
{ command: 'group.save', hideDisabled: true },
|
{ command: 'group.save', hideDisabled: true },
|
||||||
{ command: 'group.saveAs', hideDisabled: true },
|
{ command: 'group.saveAs', hideDisabled: true },
|
||||||
{ command: 'database.search', hideDisabled: true },
|
|
||||||
{ divider: true },
|
{ divider: true },
|
||||||
{ command: 'file.exit', hideDisabled: true },
|
{ command: 'file.exit', hideDisabled: true },
|
||||||
],
|
],
|
||||||
@@ -18,11 +22,6 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
label: 'Window',
|
label: 'Window',
|
||||||
submenu: [
|
submenu: [
|
||||||
{ command: 'new.query', hideDisabled: true },
|
|
||||||
{ command: 'new.freetable', hideDisabled: true },
|
|
||||||
{ command: 'new.shell', hideDisabled: true },
|
|
||||||
{ command: 'new.jsonl', hideDisabled: true },
|
|
||||||
{ divider: true },
|
|
||||||
{ command: 'tabs.closeTab', hideDisabled: true },
|
{ command: 'tabs.closeTab', hideDisabled: true },
|
||||||
{ command: 'tabs.closeAll', hideDisabled: true },
|
{ command: 'tabs.closeAll', hideDisabled: true },
|
||||||
],
|
],
|
||||||
@@ -53,7 +52,14 @@ module.exports = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Tools',
|
label: 'Tools',
|
||||||
submenu: [{ command: 'sql.generator' }, { command: 'file.import' }, { command: 'new.modelCompare' }],
|
submenu: [
|
||||||
|
{ command: 'database.search', hideDisabled: true },
|
||||||
|
{ command: 'commandPalette.show', hideDisabled: true },
|
||||||
|
{ divider: true },
|
||||||
|
{ command: 'sql.generator', hideDisabled: true },
|
||||||
|
{ command: 'file.import', hideDisabled: true },
|
||||||
|
{ command: 'new.modelCompare', hideDisabled: true },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Help',
|
label: 'Help',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
id: 'commandPalette.show',
|
id: 'commandPalette.show',
|
||||||
category: 'Command palette',
|
category: 'Command palette',
|
||||||
name: 'Show',
|
name: 'Show',
|
||||||
toolbarName: 'Search',
|
toolbarName: 'Command palette',
|
||||||
toolbarOrder: 0,
|
toolbarOrder: 0,
|
||||||
keyText: 'F1',
|
keyText: 'F1',
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user