UNPKG

@dcloudio/uni-debugger

Version:

uni-app debugger

312 lines (311 loc) 9.54 kB
{ "extensions": [ { "type": "@Common.AppProvider", "className": "Main.SimpleAppProvider", "order": 10 }, { "type": "@UI.ContextMenu.Provider", "contextTypes": [ "Workspace.UISourceCode", "SDK.Resource", "SDK.NetworkRequest" ], "className": "Components.Linkifier.ContentProviderContextMenuProvider" }, { "type": "@UI.ContextMenu.Provider", "contextTypes": [ "Node" ], "className": "UI.XLink.ContextMenuProvider" }, { "type": "@UI.ContextMenu.Provider", "contextTypes": [ "Node" ], "className": "Components.Linkifier.LinkContextMenuProvider" }, { "type": "action", "category": "Drawer", "actionId": "inspector_main.focus-debuggee", "className": "InspectorMain.FocusDebuggeeActionDelegate", "order": 100, "title": "Focus debuggee" }, { "type": "action", "category": "Drawer", "actionId": "main.toggle-drawer", "className": "UI.InspectorView.DrawerToggleActionDelegate", "order": 101, "title": "Toggle drawer", "bindings": [ { "shortcut": "Esc" } ] }, { "type": "action", "actionId": "main.debug-reload", "className": "Main.ReloadActionDelegate", "bindings": [ { "shortcut": "Alt+R" } ] }, { "type": "action", "category": "DevTools", "title": "Restore last dock position", "actionId": "main.toggle-dock", "className": "Components.DockController.ToggleDockActionDelegate", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+Shift+D" }, { "platform": "mac", "shortcut": "Meta+Shift+D" } ] }, { "type": "action", "actionId": "main.zoom-in", "className": "Main.Main.ZoomActionDelegate", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+Plus Ctrl+Shift+Plus Ctrl+NumpadPlus Ctrl+Shift+NumpadPlus" }, { "platform": "mac", "shortcut": "Meta+Plus Meta+Shift+Plus Meta+NumpadPlus Meta+Shift+NumpadPlus" } ] }, { "type": "action", "actionId": "main.zoom-out", "className": "Main.Main.ZoomActionDelegate", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+Minus Ctrl+Shift+Minus Ctrl+NumpadMinus Ctrl+Shift+NumpadMinus" }, { "platform": "mac", "shortcut": "Meta+Minus Meta+Shift+Minus Meta+NumpadMinus Meta+Shift+NumpadMinus" } ] }, { "type": "action", "actionId": "main.zoom-reset", "className": "Main.Main.ZoomActionDelegate", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+0 Ctrl+Numpad0" }, { "platform": "mac", "shortcut": "Meta+0 Meta+Numpad0" } ] }, { "type": "action", "actionId": "main.search-in-panel.find", "className": "Main.Main.SearchActionDelegate", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+F" }, { "platform": "mac", "shortcut": "Meta+F F3" } ] }, { "type": "action", "actionId": "main.search-in-panel.cancel", "className": "Main.Main.SearchActionDelegate", "order": 10, "bindings": [ { "shortcut": "Esc" } ] }, { "type": "action", "actionId": "main.search-in-panel.find-next", "className": "Main.Main.SearchActionDelegate", "bindings": [ { "platform": "mac", "shortcut": "Meta+G" } ] }, { "type": "action", "actionId": "main.search-in-panel.find-previous", "className": "Main.Main.SearchActionDelegate", "bindings": [ { "platform": "mac", "shortcut": "Meta+Shift+G" } ] }, { "type": "@UI.ToolbarItem.Provider", "separator": true, "location": "main-toolbar-left", "order": 100 }, { "type": "@UI.ToolbarItem.Provider", "separator": true, "order": 98, "location": "main-toolbar-right" }, { "type": "@UI.ToolbarItem.Provider", "className": "Main.Main.MainMenuItem", "order": 99, "location": "main-toolbar-right" }, { "type": "@UI.ToolbarItem.Provider", "className": "Components.DockController.CloseButtonProvider", "order": 100, "location": "main-toolbar-right" }, { "type": "setting", "category": "Appearance", "title": "Theme:", "settingName": "uiTheme", "settingType": "enum", "defaultValue": "default", "options": [ { "title": "Switch to light theme", "text": "Light", "value": "default" }, { "title": "Switch to dark theme", "text": "Dark", "value": "dark" } ], "tags": "dark, light" }, { "type": "setting", "category": "Appearance", "title": "Panel layout:", "settingName": "sidebarPosition", "settingType": "enum", "defaultValue": "auto", "options": [ { "title": "Use horizontal panel layout", "text": "horizontal", "value": "bottom" }, { "title": "Use vertical panel layout", "text": "vertical", "value": "right" }, { "title": "Use automatic panel layout", "text": "auto", "value": "auto" } ] }, { "type": "setting", "category": "Appearance", "title": "Enable Ctrl + 1-9 shortcut to switch panels", "title-mac": "Enable \u2318 + 1-9 shortcut to switch panels", "settingName": "shortcutPanelSwitch", "settingType": "boolean", "defaultValue": false }, { "type": "@UI.SettingUI", "category": "Extensions", "className": "Components.Linkifier.LinkHandlerSettingUI" }, { "type": "setting", "category": "DevTools", "settingName": "currentDockState", "settingType": "enum", "defaultValue": "right", "options": [ { "value": "right", "text": "Right", "title": "Dock to right" }, { "value": "bottom", "text": "Bottom", "title": "Dock to bottom" }, { "value": "undocked", "text": "Undocked", "title": "Undock into separate window" } ] }, { "type": "@UI.ViewLocationResolver", "name": "drawer-view", "category": "Drawer", "className": "UI.InspectorView" }, { "type": "@UI.ViewLocationResolver", "name": "drawer-sidebar", "category": "Drawer sidebar", "className": "UI.InspectorView" }, { "type": "@UI.ViewLocationResolver", "name": "panel", "category": "Panel", "className": "UI.InspectorView" } ], "dependencies": [ "extensions", "host", "platform", "sdk", "persistence" ], "scripts": [ "SimpleApp.js", "ExecutionContextSelector.js", "Main.js" ] }