mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
main menu changes
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user