mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
R=aerotwist@chromium.org Bug: 1011811 Change-Id: I4c4fd280adb4f5f7b327239d08d80b2cb98b203b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2560248 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
232 lines
5.4 KiB
JSON
232 lines
5.4 KiB
JSON
{
|
|
"extensions": [
|
|
{
|
|
"type": "view",
|
|
"location": "panel",
|
|
"id": "console",
|
|
"title": "Console",
|
|
"order": 20,
|
|
"className": "Console.ConsolePanel"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "drawer-view",
|
|
"id": "console-view",
|
|
"title": "Console",
|
|
"persistence": "permanent",
|
|
"order": 0,
|
|
"className": "Console.ConsolePanel.WrapperView"
|
|
},
|
|
{
|
|
"type": "@Common.Revealer",
|
|
"contextTypes": [
|
|
"Common.Console"
|
|
],
|
|
"className": "Console.ConsolePanel.ConsoleRevealer"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "console.show",
|
|
"category": "Console",
|
|
"title": "Show Console",
|
|
"className": "Console.ConsoleView.ActionDelegate",
|
|
"bindings": [
|
|
{
|
|
"shortcut": "Ctrl+`",
|
|
"keybindSets": [
|
|
"devToolsDefault",
|
|
"vsCode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Console",
|
|
"contextTypes": [
|
|
"Console.ConsoleView"
|
|
],
|
|
"actionId": "console.clear",
|
|
"title": "Clear console",
|
|
"iconClass": "largeicon-clear",
|
|
"className": "Console.ConsoleView.ActionDelegate",
|
|
"bindings": [
|
|
{
|
|
"shortcut": "Ctrl+L"
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+K"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Console",
|
|
"actionId": "console.clear.history",
|
|
"title": "Clear console history",
|
|
"className": "Console.ConsoleView.ActionDelegate"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Console",
|
|
"actionId": "console.create-pin",
|
|
"iconClass": "largeicon-visibility",
|
|
"className": "Console.ConsoleView.ActionDelegate",
|
|
"title": "Create live expression"
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Hide network messages",
|
|
"settingName": "hideNetworkMessages",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Hide network messages"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Show network messages"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Selected context only",
|
|
"settingName": "selectedContextFilterEnabled",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Only show messages from the current context (top, iframe, worker, extension)"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Show messages from all contexts"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Log XMLHttpRequests",
|
|
"settingName": "monitoringXHREnabled",
|
|
"settingType": "boolean",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Show timestamps",
|
|
"settingName": "consoleTimestampsEnabled",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Show timestamps"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Hide timestamps"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Autocomplete from history",
|
|
"settingName": "consoleHistoryAutocomplete",
|
|
"settingType": "boolean",
|
|
"defaultValue": true,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Autocomplete from history"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Do not autocomplete from history"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Group similar messages in console",
|
|
"settingName": "consoleGroupSimilar",
|
|
"settingType": "boolean",
|
|
"defaultValue": true,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Group similar messages in console"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Do not group similar messages in console"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Eager evaluation",
|
|
"settingName": "consoleEagerEval",
|
|
"settingType": "boolean",
|
|
"defaultValue": true,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Eagerly evaluate console prompt text"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Do not eagerly evaluate console prompt text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Console",
|
|
"title": "Evaluate triggers user activation",
|
|
"settingName": "consoleUserActivationEval",
|
|
"settingType": "boolean",
|
|
"defaultValue": true,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Treat evaluation as user activation"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Do not treat evaluation as user activation"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"components",
|
|
"data_grid",
|
|
"host",
|
|
"object_ui",
|
|
"sdk",
|
|
"formatter",
|
|
"browser_sdk"
|
|
],
|
|
"modules": [
|
|
"console-legacy.js"
|
|
],
|
|
"resources": [
|
|
"consoleContextSelector.css",
|
|
"consolePinPane.css",
|
|
"consolePrompt.css",
|
|
"consoleSidebar.css",
|
|
"consoleView.css"
|
|
]
|
|
} |