mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 09:05:59 +00:00
81 lines
2.5 KiB
JavaScript
81 lines
2.5 KiB
JavaScript
module.exports = [
|
|
{
|
|
label: 'File',
|
|
submenu: [
|
|
{ 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 },
|
|
{ divider: true },
|
|
{ command: 'file.exit', hideDisabled: true },
|
|
],
|
|
},
|
|
{
|
|
label: 'Window',
|
|
submenu: [
|
|
{ command: 'tabs.closeTab', hideDisabled: true },
|
|
{ command: 'tabs.closeAll', hideDisabled: true },
|
|
{ divider: true },
|
|
{ command: 'app.zoomIn', hideDisabled: true },
|
|
{ command: 'app.zoomOut', hideDisabled: true },
|
|
{ command: 'app.zoomReset', hideDisabled: true },
|
|
],
|
|
},
|
|
|
|
// {
|
|
// label: 'Edit',
|
|
// submenu: [
|
|
// { role: 'undo' },
|
|
// { role: 'redo' },
|
|
// { type: 'separator' },
|
|
// { role: 'cut' },
|
|
// { role: 'copy' },
|
|
// { role: 'paste' },
|
|
// ],
|
|
// },
|
|
{
|
|
label: 'View',
|
|
submenu: [
|
|
{ command: 'app.reload', hideDisabled: true },
|
|
{ command: 'app.toggleDevTools', hideDisabled: true },
|
|
{ command: 'app.toggleFullScreen', hideDisabled: true },
|
|
{ command: 'app.minimize', hideDisabled: true },
|
|
{ divider: true },
|
|
{ command: 'theme.changeTheme', hideDisabled: true },
|
|
{ command: 'settings.show' },
|
|
],
|
|
},
|
|
{
|
|
label: 'Tools',
|
|
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',
|
|
submenu: [
|
|
{ command: 'app.openDocs', hideDisabled: true },
|
|
{ command: 'app.openWeb', hideDisabled: true },
|
|
{ command: 'app.openIssue', hideDisabled: true },
|
|
{ command: 'app.openSponsoring', hideDisabled: true },
|
|
{ divider: true },
|
|
{ command: 'tabs.changelog', hideDisabled: true },
|
|
{ command: 'about.show', hideDisabled: true },
|
|
],
|
|
},
|
|
];
|