mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
main menu changes
This commit is contained in:
parent
288cab0840
commit
2e410301bc
@ -5,12 +5,16 @@ module.exports = [
|
||||
{ command: 'new.connection', hideDisabled: true },
|
||||
{ command: 'new.sqliteDatabase', hideDisabled: 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.openArchive', hideDisabled: true },
|
||||
{ divider: true },
|
||||
{ command: 'group.save', hideDisabled: true },
|
||||
{ command: 'group.saveAs', hideDisabled: true },
|
||||
{ command: 'database.search', hideDisabled: true },
|
||||
{ divider: true },
|
||||
{ command: 'file.exit', hideDisabled: true },
|
||||
],
|
||||
@ -18,11 +22,6 @@ module.exports = [
|
||||
{
|
||||
label: 'Window',
|
||||
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.closeAll', hideDisabled: true },
|
||||
],
|
||||
@ -53,7 +52,14 @@ module.exports = [
|
||||
},
|
||||
{
|
||||
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',
|
||||
|
@ -3,7 +3,7 @@
|
||||
id: 'commandPalette.show',
|
||||
category: 'Command palette',
|
||||
name: 'Show',
|
||||
toolbarName: 'Search',
|
||||
toolbarName: 'Command palette',
|
||||
toolbarOrder: 0,
|
||||
keyText: 'F1',
|
||||
toolbar: true,
|
||||
|
Loading…
Reference in New Issue
Block a user