mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
db search in main menu
This commit is contained in:
parent
1f8021833b
commit
3b15d315ec
@ -50,6 +50,7 @@ function buildMenu() {
|
|||||||
commandItem('file.open'),
|
commandItem('file.open'),
|
||||||
commandItem('group.save'),
|
commandItem('group.save'),
|
||||||
commandItem('group.saveAs'),
|
commandItem('group.saveAs'),
|
||||||
|
commandItem('database.search'),
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
commandItem('tabs.closeTab'),
|
commandItem('tabs.closeTab'),
|
||||||
commandItem('file.exit'),
|
commandItem('file.exit'),
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
id: 'commandPalette.show',
|
id: 'commandPalette.show',
|
||||||
category: 'Command palette',
|
category: 'Command palette',
|
||||||
name: 'Show',
|
name: 'Show',
|
||||||
toolbarName: 'Menu',
|
toolbarName: 'Menu+Search',
|
||||||
toolbarOrder: 0,
|
toolbarOrder: 0,
|
||||||
keyText: 'F1',
|
keyText: 'F1',
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
@ -18,6 +18,7 @@
|
|||||||
registerCommand({
|
registerCommand({
|
||||||
id: 'database.search',
|
id: 'database.search',
|
||||||
category: 'Database',
|
category: 'Database',
|
||||||
|
toolbarName: 'Database search',
|
||||||
name: 'Search',
|
name: 'Search',
|
||||||
keyText: electron ? 'Ctrl+P' : 'F3',
|
keyText: electron ? 'Ctrl+P' : 'F3',
|
||||||
onClick: () => visibleCommandPalette.set('database'),
|
onClick: () => visibleCommandPalette.set('database'),
|
||||||
|
Loading…
Reference in New Issue
Block a user