| OLD | NEW |
| 1 { | 1 { |
| 2 "extensions": [ | 2 "extensions": [ |
| 3 { | 3 { |
| 4 "type": "view", | 4 "type": "view", |
| 5 "location": "panel", | 5 "location": "panel", |
| 6 "id": "sources", | 6 "id": "sources", |
| 7 "title": "Sources", | 7 "title": "Sources", |
| 8 "order": 30, | 8 "order": 30, |
| 9 "className": "Sources.SourcesPanel" | 9 "className": "Sources.SourcesPanel" |
| 10 }, | 10 }, |
| 11 { | 11 { |
| 12 "type": "@UI.ContextMenu.Provider", | 12 "type": "@UI.ContextMenu.Provider", |
| 13 "contextTypes": ["Workspace.UISourceCode", "Workspace.UILocation", "
SDK.RemoteObject", "SDK.NetworkRequest", "Sources.UISourceCodeFrame"], | 13 "contextTypes": [ |
| 14 "className": "Sources.SourcesPanel" | 14 "Workspace.UISourceCode", |
| 15 }, | 15 "Workspace.UILocation", |
| 16 { | 16 "SDK.RemoteObject", |
| 17 "type": "@UI.ActionDelegate", | 17 "SDK.NetworkRequest", |
| 18 "category": "Debugger", | 18 "Sources.UISourceCodeFrame" |
| 19 "actionId": "debugger.toggle-pause", | 19 ], |
| 20 "iconClass": "largeicon-pause", | 20 "className": "Sources.SourcesPanel" |
| 21 "toggledIconClass": "largeicon-resume", | 21 }, |
| 22 "className": "Sources.SourcesPanel.RevealingActionDelegate", | 22 { |
| 23 "contextTypes": ["Sources.SourcesPanel", "UI.ShortcutRegistry.Forwar
dedShortcut"], | 23 "type": "@UI.ActionDelegate", |
| 24 "options": [ | 24 "category": "Debugger", |
| 25 { "value": true, "title": "Pause script execution" }, | 25 "actionId": "debugger.toggle-pause", |
| 26 { "value": false, "title": "Resume script execution" } | 26 "iconClass": "largeicon-pause", |
| 27 ], | 27 "toggledIconClass": "largeicon-resume", |
| 28 "bindings": [ | 28 "className": "Sources.SourcesPanel.RevealingActionDelegate", |
| 29 { | 29 "contextTypes": [ |
| 30 "platform": "windows,linux", | 30 "Sources.SourcesPanel", |
| 31 "shortcut": "F8 Ctrl+\\" | 31 "UI.ShortcutRegistry.ForwardedShortcut" |
| 32 }, | 32 ], |
| 33 { | 33 "options": [ |
| 34 "platform": "mac", | 34 { |
| 35 "shortcut": "F8 Meta+\\" | 35 "value": true, |
| 36 } | 36 "title": "Pause script execution" |
| 37 ] | 37 }, |
| 38 }, | 38 { |
| 39 { | 39 "value": false, |
| 40 "type": "@UI.ActionDelegate", | 40 "title": "Resume script execution" |
| 41 "actionId": "debugger.step-over", | 41 } |
| 42 "className": "Sources.SourcesPanel.DebuggingActionDelegate", | 42 ], |
| 43 "title": "Step over next function call", | 43 "bindings": [ |
| 44 "iconClass": "largeicon-step-over", | 44 { |
| 45 "contextTypes": ["Sources.SourcesPanel"], | 45 "platform": "windows,linux", |
| 46 "bindings": [ | 46 "shortcut": "F8 Ctrl+\\" |
| 47 { | 47 }, |
| 48 "platform": "windows,linux", | 48 { |
| 49 "shortcut": "F10 Ctrl+'" | 49 "platform": "mac", |
| 50 }, | 50 "shortcut": "F8 Meta+\\" |
| 51 { | 51 } |
| 52 "platform": "mac", | 52 ] |
| 53 "shortcut": "F10 Meta+'" | 53 }, |
| 54 } | 54 { |
| 55 ] | 55 "type": "@UI.ActionDelegate", |
| 56 }, | 56 "actionId": "debugger.step-over", |
| 57 { | 57 "className": "Sources.SourcesPanel.DebuggingActionDelegate", |
| 58 "type": "@UI.ActionDelegate", | 58 "title": "Step over next function call", |
| 59 "actionId": "debugger.step-into", | 59 "iconClass": "largeicon-step-over", |
| 60 "className": "Sources.SourcesPanel.DebuggingActionDelegate", | 60 "contextTypes": [ |
| 61 "title": "Step into next function call", | 61 "Sources.SourcesPanel" |
| 62 "iconClass": "largeicon-step-in", | 62 ], |
| 63 "contextTypes": ["Sources.SourcesPanel"], | 63 "bindings": [ |
| 64 "bindings": [ | 64 { |
| 65 { | 65 "platform": "windows,linux", |
| 66 "platform": "windows,linux", | 66 "shortcut": "F10 Ctrl+'" |
| 67 "shortcut": "F11 Ctrl+;" | 67 }, |
| 68 }, | 68 { |
| 69 { | 69 "platform": "mac", |
| 70 "platform": "mac", | 70 "shortcut": "F10 Meta+'" |
| 71 "shortcut": "F11 Meta+;" | 71 } |
| 72 } | 72 ] |
| 73 ] | 73 }, |
| 74 }, | 74 { |
| 75 { | 75 "type": "@UI.ActionDelegate", |
| 76 "type": "@UI.ActionDelegate", | 76 "actionId": "debugger.step-into", |
| 77 "actionId": "debugger.step-out", | 77 "className": "Sources.SourcesPanel.DebuggingActionDelegate", |
| 78 "className": "Sources.SourcesPanel.DebuggingActionDelegate", | 78 "title": "Step into next function call", |
| 79 "title": "Step out of current function", | 79 "iconClass": "largeicon-step-in", |
| 80 "iconClass": "largeicon-step-out", | 80 "contextTypes": [ |
| 81 "contextTypes": ["Sources.SourcesPanel"], | 81 "Sources.SourcesPanel" |
| 82 "bindings": [ | 82 ], |
| 83 { | 83 "bindings": [ |
| 84 "platform": "windows,linux", | 84 { |
| 85 "shortcut": "Shift+F11 Shift+Ctrl+;" | 85 "platform": "windows,linux", |
| 86 }, | 86 "shortcut": "F11 Ctrl+;" |
| 87 { | 87 }, |
| 88 "platform": "mac", | 88 { |
| 89 "shortcut": "Shift+F11 Shift+Meta+;" | 89 "platform": "mac", |
| 90 } | 90 "shortcut": "F11 Meta+;" |
| 91 ] | 91 } |
| 92 }, | 92 ] |
| 93 { | 93 }, |
| 94 "type": "@UI.ActionDelegate", | 94 { |
| 95 "actionId": "debugger.run-snippet", | 95 "type": "@UI.ActionDelegate", |
| 96 "className": "Sources.SourcesPanel.DebuggingActionDelegate", | 96 "actionId": "debugger.step-out", |
| 97 "title": "Run snippet", | 97 "className": "Sources.SourcesPanel.DebuggingActionDelegate", |
| 98 "iconClass": "largeicon-play", | 98 "title": "Step out of current function", |
| 99 "contextTypes": ["Sources.SourcesPanel"], | 99 "iconClass": "largeicon-step-out", |
| 100 "bindings": [ | 100 "contextTypes": [ |
| 101 { | 101 "Sources.SourcesPanel" |
| 102 "platform": "windows,linux", | 102 ], |
| 103 "shortcut": "Ctrl+Enter" | 103 "bindings": [ |
| 104 }, | 104 { |
| 105 { | 105 "platform": "windows,linux", |
| 106 "platform": "mac", | 106 "shortcut": "Shift+F11 Shift+Ctrl+;" |
| 107 "shortcut": "Meta+Enter" | 107 }, |
| 108 } | 108 { |
| 109 ] | 109 "platform": "mac", |
| 110 }, | 110 "shortcut": "Shift+F11 Shift+Meta+;" |
| 111 { | 111 } |
| 112 "type": "@UI.ActionDelegate", | 112 ] |
| 113 "actionId": "sources.search.toggle", | 113 }, |
| 114 "title": "Search all files", | 114 { |
| 115 "className": "Sources.AdvancedSearchView.ActionDelegate", | 115 "type": "@UI.ActionDelegate", |
| 116 "category": "DevTools", | 116 "actionId": "debugger.run-snippet", |
| 117 "bindings": [ | 117 "className": "Sources.SourcesPanel.DebuggingActionDelegate", |
| 118 { | 118 "title": "Run snippet", |
| 119 "platform": "mac", | 119 "iconClass": "largeicon-play", |
| 120 "shortcut": "Meta+Alt+F" | 120 "contextTypes": [ |
| 121 }, | 121 "Sources.SourcesPanel" |
| 122 { | 122 ], |
| 123 "platform": "windows,linux", | 123 "bindings": [ |
| 124 "shortcut": "Ctrl+Shift+F" | 124 { |
| 125 } | 125 "platform": "windows,linux", |
| 126 ] | 126 "shortcut": "Ctrl+Enter" |
| 127 }, | 127 }, |
| 128 { | 128 { |
| 129 "type": "@UI.ActionDelegate", | 129 "platform": "mac", |
| 130 "category": "Debugger", | 130 "shortcut": "Meta+Enter" |
| 131 "actionId": "debugger.toggle-breakpoints-active", | 131 } |
| 132 "iconClass": "largeicon-deactivate-breakpoints", | 132 ] |
| 133 "toggledIconClass": "largeicon-activate-breakpoints", | 133 }, |
| 134 "className": "Sources.SourcesPanel.DebuggingActionDelegate", | 134 { |
| 135 "contextTypes": ["Sources.SourcesPanel"], | 135 "type": "@UI.ActionDelegate", |
| 136 "options": [ | 136 "actionId": "sources.search.toggle", |
| 137 { "value": true, "title": "Deactivate breakpoints" }, | 137 "title": "Search all files", |
| 138 { "value": false, "title": "Activate breakpoints" } | 138 "className": "Sources.AdvancedSearchView.ActionDelegate", |
| 139 ], | 139 "category": "DevTools", |
| 140 "bindings": [ | 140 "bindings": [ |
| 141 { | 141 { |
| 142 "platform": "windows,linux", | 142 "platform": "mac", |
| 143 "shortcut": "Ctrl+F8" | 143 "shortcut": "Meta+Alt+F" |
| 144 }, | 144 }, |
| 145 { | 145 { |
| 146 "platform": "mac", | 146 "platform": "windows,linux", |
| 147 "shortcut": "Meta+F8" | 147 "shortcut": "Ctrl+Shift+F" |
| 148 } | 148 } |
| 149 ] | 149 ] |
| 150 }, | 150 }, |
| 151 { | 151 { |
| 152 "type": "@UI.ActionDelegate", | 152 "type": "@UI.ActionDelegate", |
| 153 "actionId": "sources.add-to-watch", | 153 "category": "Debugger", |
| 154 "className": "Sources.WatchExpressionsSidebarPane", | 154 "actionId": "debugger.toggle-breakpoints-active", |
| 155 "title": "Add selected text to watches", | 155 "iconClass": "largeicon-deactivate-breakpoints", |
| 156 "contextTypes": ["Sources.UISourceCodeFrame"], | 156 "toggledIconClass": "largeicon-activate-breakpoints", |
| 157 "bindings": [ | 157 "className": "Sources.SourcesPanel.DebuggingActionDelegate", |
| 158 { | 158 "contextTypes": [ |
| 159 "shortcut": "Ctrl+Shift+A" | 159 "Sources.SourcesPanel" |
| 160 } | 160 ], |
| 161 ] | 161 "options": [ |
| 162 }, | 162 { |
| 163 { | 163 "value": true, |
| 164 "type": "@UI.ContextMenu.Provider", | 164 "title": "Deactivate breakpoints" |
| 165 "contextTypes": ["TextEditor.CodeMirrorTextEditor"], | 165 }, |
| 166 "className": "Sources.WatchExpressionsSidebarPane" | 166 { |
| 167 }, | 167 "value": false, |
| 168 { | 168 "title": "Activate breakpoints" |
| 169 "type": "@UI.ActionDelegate", | 169 } |
| 170 "actionId": "debugger.evaluate-selection", | 170 ], |
| 171 "className": "Sources.SourcesPanel.DebuggingActionDelegate", | 171 "bindings": [ |
| 172 "title": "Evaluate in console", | 172 { |
| 173 "contextTypes": ["Sources.UISourceCodeFrame"], | 173 "platform": "windows,linux", |
| 174 "bindings": [ | 174 "shortcut": "Ctrl+F8" |
| 175 { | 175 }, |
| 176 "shortcut": "Ctrl+Shift+E" | 176 { |
| 177 } | 177 "platform": "mac", |
| 178 ] | 178 "shortcut": "Meta+F8" |
| 179 }, | 179 } |
| 180 { | 180 ] |
| 181 "type": "context-menu-item", | 181 }, |
| 182 "location": "mainMenu/navigate", | 182 { |
| 183 "actionId": "sources.search.toggle" | 183 "type": "@UI.ActionDelegate", |
| 184 }, | 184 "actionId": "sources.add-to-watch", |
| 185 { | 185 "className": "Sources.WatchExpressionsSidebarPane", |
| 186 "type": "context-menu-item", | 186 "title": "Add selected text to watches", |
| 187 "location": "navigatorMenu/navigate", | 187 "contextTypes": [ |
| 188 "actionId": "sources.go-to-source" | 188 "Sources.UISourceCodeFrame" |
| 189 }, | 189 ], |
| 190 { | 190 "bindings": [ |
| 191 "type": "@Common.Revealer", | 191 { |
| 192 "contextTypes": ["Workspace.UILocation"], | 192 "shortcut": "Ctrl+Shift+A" |
| 193 "className": "Sources.SourcesPanel.UILocationRevealer" | 193 } |
| 194 }, | 194 ] |
| 195 { | 195 }, |
| 196 "type": "@Common.Revealer", | 196 { |
| 197 "contextTypes": ["SDK.DebuggerModel.Location"], | 197 "type": "@UI.ContextMenu.Provider", |
| 198 "className": "Sources.SourcesPanel.DebuggerLocationRevealer" | 198 "contextTypes": [ |
| 199 }, | 199 "TextEditor.CodeMirrorTextEditor" |
| 200 { | 200 ], |
| 201 "type": "@Common.Revealer", | 201 "className": "Sources.WatchExpressionsSidebarPane" |
| 202 "contextTypes": ["Workspace.UISourceCode"], | 202 }, |
| 203 "className": "Sources.SourcesPanel.UISourceCodeRevealer" | 203 { |
| 204 }, | 204 "type": "@UI.ActionDelegate", |
| 205 { | 205 "actionId": "debugger.evaluate-selection", |
| 206 "type": "@Common.Revealer", | 206 "className": "Sources.SourcesPanel.DebuggingActionDelegate", |
| 207 "contextTypes": ["SDK.DebuggerPausedDetails"], | 207 "title": "Evaluate in console", |
| 208 "className": "Sources.SourcesPanel.DebuggerPausedDetailsRevealer" | 208 "contextTypes": [ |
| 209 }, | 209 "Sources.UISourceCodeFrame" |
| 210 { | 210 ], |
| 211 "type": "@Sources.SourcesView.EditorAction", | 211 "bindings": [ |
| 212 "className": "Sources.InplaceFormatterEditorAction" | 212 { |
| 213 }, | 213 "shortcut": "Ctrl+Shift+E" |
| 214 { | 214 } |
| 215 "type": "@Sources.SourcesView.EditorAction", | 215 ] |
| 216 "className": "Sources.ScriptFormatterEditorAction" | 216 }, |
| 217 }, | 217 { |
| 218 { | 218 "type": "context-menu-item", |
| 219 "type": "view", | 219 "location": "mainMenu/navigate", |
| 220 "location": "navigator-view", | 220 "actionId": "sources.search.toggle" |
| 221 "id": "navigator-sources", | 221 }, |
| 222 "title": "Sources", | 222 { |
| 223 "order": 1, | 223 "type": "context-menu-item", |
| 224 "persistence": "permanent", | 224 "location": "navigatorMenu/navigate", |
| 225 "className": "Sources.SourcesNavigatorView", | 225 "actionId": "sources.go-to-source" |
| 226 "experiment": "!persistence2" | 226 }, |
| 227 }, | 227 { |
| 228 { | 228 "type": "@Common.Revealer", |
| 229 "type": "view", | 229 "contextTypes": [ |
| 230 "location": "navigator-view", | 230 "Workspace.UILocation" |
| 231 "id": "navigator-network", | 231 ], |
| 232 "title": "Network", | 232 "className": "Sources.SourcesPanel.UILocationRevealer" |
| 233 "order": 2, | 233 }, |
| 234 "persistence": "permanent", | 234 { |
| 235 "className": "Sources.NetworkNavigatorView", | 235 "type": "@Common.Revealer", |
| 236 "experiment": "persistence2" | 236 "contextTypes": [ |
| 237 }, | 237 "SDK.DebuggerModel.Location" |
| 238 { | 238 ], |
| 239 "type": "view", | 239 "className": "Sources.SourcesPanel.DebuggerLocationRevealer" |
| 240 "location": "navigator-view", | 240 }, |
| 241 "id": "navigator-files", | 241 { |
| 242 "title": "Filesystem", | 242 "type": "@Common.Revealer", |
| 243 "order": 3, | 243 "contextTypes": [ |
| 244 "persistence": "permanent", | 244 "Workspace.UISourceCode" |
| 245 "className": "Sources.FilesNavigatorView", | 245 ], |
| 246 "experiment": "persistence2" | 246 "className": "Sources.SourcesPanel.UISourceCodeRevealer" |
| 247 }, | 247 }, |
| 248 { | 248 { |
| 249 "type": "view", | 249 "type": "@Common.Revealer", |
| 250 "location": "navigator-view", | 250 "contextTypes": [ |
| 251 "id": "navigator-contentScripts", | 251 "SDK.DebuggerPausedDetails" |
| 252 "title": "Content scripts", | 252 ], |
| 253 "order": 4, | 253 "className": "Sources.SourcesPanel.DebuggerPausedDetailsRevealer" |
| 254 "persistence": "permanent", | 254 }, |
| 255 "className": "Sources.ContentScriptsNavigatorView" | 255 { |
| 256 }, | 256 "type": "@Sources.SourcesView.EditorAction", |
| 257 { | 257 "className": "Sources.InplaceFormatterEditorAction" |
| 258 "type": "view", | 258 }, |
| 259 "location": "navigator-view", | 259 { |
| 260 "id": "navigator-snippets", | 260 "type": "@Sources.SourcesView.EditorAction", |
| 261 "title": "Snippets", | 261 "className": "Sources.ScriptFormatterEditorAction" |
| 262 "order": 5, | 262 }, |
| 263 "persistence": "permanent", | 263 { |
| 264 "className": "Sources.SnippetsNavigatorView" | 264 "type": "view", |
| 265 }, | 265 "location": "navigator-view", |
| 266 { | 266 "id": "navigator-sources", |
| 267 "type": "@Sources.NavigatorView", | 267 "title": "Sources", |
| 268 "viewId": "navigator-sources", | 268 "order": 1, |
| 269 "className": "Sources.SourcesNavigatorView", | 269 "persistence": "permanent", |
| 270 "experiment": "!persistence2" | 270 "className": "Sources.SourcesNavigatorView", |
| 271 }, | 271 "experiment": "!persistence2" |
| 272 { | 272 }, |
| 273 "type": "@Sources.NavigatorView", | 273 { |
| 274 "viewId": "navigator-network", | 274 "type": "view", |
| 275 "className": "Sources.NetworkNavigatorView", | 275 "location": "navigator-view", |
| 276 "experiment": "persistence2" | 276 "id": "navigator-network", |
| 277 }, | 277 "title": "Network", |
| 278 { | 278 "order": 2, |
| 279 "type": "@Sources.NavigatorView", | 279 "persistence": "permanent", |
| 280 "viewId": "navigator-files", | 280 "className": "Sources.NetworkNavigatorView", |
| 281 "className": "Sources.FilesNavigatorView", | 281 "experiment": "persistence2" |
| 282 "experiment": "persistence2" | 282 }, |
| 283 }, | 283 { |
| 284 { | 284 "type": "view", |
| 285 "type": "@Sources.NavigatorView", | 285 "location": "navigator-view", |
| 286 "viewId": "navigator-contentScripts", | 286 "id": "navigator-files", |
| 287 "className": "Sources.ContentScriptsNavigatorView" | 287 "title": "Filesystem", |
| 288 }, | 288 "order": 3, |
| 289 { | 289 "persistence": "permanent", |
| 290 "type": "@Sources.NavigatorView", | 290 "className": "Sources.FilesNavigatorView", |
| 291 "viewId": "navigator-snippets", | 291 "experiment": "persistence2" |
| 292 "className": "Sources.SnippetsNavigatorView" | 292 }, |
| 293 }, | 293 { |
| 294 { | 294 "type": "view", |
| 295 "type": "@UI.ActionDelegate", | 295 "location": "navigator-view", |
| 296 "actionId": "sources.go-to-source", | 296 "id": "navigator-contentScripts", |
| 297 "title": "Go to file...", | 297 "title": "Content scripts", |
| 298 "className": "Sources.SourcesPanel.RevealingActionDelegate", | 298 "order": 4, |
| 299 "order": 100, | 299 "persistence": "permanent", |
| 300 "bindings": [ | 300 "className": "Sources.ContentScriptsNavigatorView" |
| 301 { | 301 }, |
| 302 "platform": "mac", | 302 { |
| 303 "shortcut": "Meta+P Meta+O" | 303 "type": "view", |
| 304 }, | 304 "location": "navigator-view", |
| 305 { | 305 "id": "navigator-snippets", |
| 306 "platform": "windows,linux", | 306 "title": "Snippets", |
| 307 "shortcut": "Ctrl+P Ctrl+O" | 307 "order": 5, |
| 308 } | 308 "persistence": "permanent", |
| 309 ] | 309 "className": "Sources.SnippetsNavigatorView" |
| 310 }, | 310 }, |
| 311 { | 311 { |
| 312 "type": "@UI.ActionDelegate", | 312 "type": "@Sources.NavigatorView", |
| 313 "actionId": "sources.switch-file", | 313 "viewId": "navigator-sources", |
| 314 "className": "Sources.SourcesView.SwitchFileActionDelegate", | 314 "className": "Sources.SourcesNavigatorView", |
| 315 "contextTypes": ["Sources.SourcesView"], | 315 "experiment": "!persistence2" |
| 316 "bindings": [ | 316 }, |
| 317 { | 317 { |
| 318 "shortcut": "Alt+O" | 318 "type": "@Sources.NavigatorView", |
| 319 } | 319 "viewId": "navigator-network", |
| 320 ] | 320 "className": "Sources.NetworkNavigatorView", |
| 321 }, | 321 "experiment": "persistence2" |
| 322 { | 322 }, |
| 323 "type": "setting", | 323 { |
| 324 "settingName": "navigatorGroupByFolder", | 324 "type": "@Sources.NavigatorView", |
| 325 "settingType": "boolean", | 325 "viewId": "navigator-files", |
| 326 "defaultValue": "true" | 326 "className": "Sources.FilesNavigatorView", |
| 327 }, | 327 "experiment": "persistence2" |
| 328 { | 328 }, |
| 329 "type": "setting", | 329 { |
| 330 "category": "Sources", | 330 "type": "@Sources.NavigatorView", |
| 331 "title": "Search in content scripts", | 331 "viewId": "navigator-contentScripts", |
| 332 "settingName": "searchInContentScripts", | 332 "className": "Sources.ContentScriptsNavigatorView" |
| 333 "settingType": "boolean", | 333 }, |
| 334 "defaultValue": false | 334 { |
| 335 }, | 335 "type": "@Sources.NavigatorView", |
| 336 { | 336 "viewId": "navigator-snippets", |
| 337 "type": "setting", | 337 "className": "Sources.SnippetsNavigatorView" |
| 338 "category": "Sources", | 338 }, |
| 339 "title": "Automatically reveal files in navigator", | 339 { |
| 340 "settingName": "autoRevealInNavigator", | 340 "type": "@UI.ActionDelegate", |
| 341 "settingType": "boolean", | 341 "actionId": "sources.go-to-source", |
| 342 "defaultValue": false | 342 "title": "Go to file...", |
| 343 }, | 343 "className": "Sources.SourcesPanel.RevealingActionDelegate", |
| 344 { | 344 "order": 100, |
| 345 "type": "setting", | 345 "bindings": [ |
| 346 "category": "Sources", | 346 { |
| 347 "title": "Enable JavaScript source maps", | 347 "platform": "mac", |
| 348 "settingName": "jsSourceMapsEnabled", | 348 "shortcut": "Meta+P Meta+O" |
| 349 "settingType": "boolean", | 349 }, |
| 350 "defaultValue": true | 350 { |
| 351 }, | 351 "platform": "windows,linux", |
| 352 { | 352 "shortcut": "Ctrl+P Ctrl+O" |
| 353 "type": "setting", | 353 } |
| 354 "category": "Sources", | 354 ] |
| 355 "title": "Detect indentation", | 355 }, |
| 356 "settingName": "textEditorAutoDetectIndent", | 356 { |
| 357 "settingType": "boolean", | 357 "type": "@UI.ActionDelegate", |
| 358 "defaultValue": true | 358 "actionId": "sources.switch-file", |
| 359 }, | 359 "className": "Sources.SourcesView.SwitchFileActionDelegate", |
| 360 { | 360 "contextTypes": [ |
| 361 "type": "setting", | 361 "Sources.SourcesView" |
| 362 "category": "Sources", | 362 ], |
| 363 "title": "Autocompletion", | 363 "bindings": [ |
| 364 "settingName": "textEditorAutocompletion", | 364 { |
| 365 "settingType": "boolean", | 365 "shortcut": "Alt+O" |
| 366 "defaultValue": true | 366 } |
| 367 }, | 367 ] |
| 368 { | 368 }, |
| 369 "type": "setting", | 369 { |
| 370 "category": "Sources", | 370 "type": "setting", |
| 371 "title": "Bracket matching", | 371 "settingName": "navigatorGroupByFolder", |
| 372 "settingName": "textEditorBracketMatching", | 372 "settingType": "boolean", |
| 373 "settingType": "boolean", | 373 "defaultValue": "true" |
| 374 "defaultValue": true | 374 }, |
| 375 }, | 375 { |
| 376 { | 376 "type": "setting", |
| 377 "type": "setting", | 377 "category": "Sources", |
| 378 "category": "Sources", | 378 "title": "Search in content scripts", |
| 379 "title": "Show whitespace characters:", | 379 "settingName": "searchInContentScripts", |
| 380 "settingName": "showWhitespacesInEditor", | 380 "settingType": "boolean", |
| 381 "settingType": "enum", | 381 "defaultValue": false |
| 382 "defaultValue": "original", | 382 }, |
| 383 "options": [ | 383 { |
| 384 { "title": "Do not show whitespace characters", "text": "None",
"value": "none" }, | 384 "type": "setting", |
| 385 { "title": "Show all whitespace characters", "text": "All", "val
ue": "all" }, | 385 "category": "Sources", |
| 386 { "title": "Show trailing whitespace characters", "text": "Trail
ing", "value": "trailing" } | 386 "title": "Automatically reveal files in navigator", |
| 387 ] | 387 "settingName": "autoRevealInNavigator", |
| 388 }, | 388 "settingType": "boolean", |
| 389 { | 389 "defaultValue": false |
| 390 "type": "setting", | 390 }, |
| 391 "category": "Sources", | 391 { |
| 392 "title": "Display variable values inline while debugging", | 392 "type": "setting", |
| 393 "settingName": "inlineVariableValues", | 393 "category": "Sources", |
| 394 "settingType": "boolean", | 394 "title": "Enable JavaScript source maps", |
| 395 "defaultValue": true | 395 "settingName": "jsSourceMapsEnabled", |
| 396 }, | 396 "settingType": "boolean", |
| 397 { | 397 "defaultValue": true |
| 398 "type": "setting", | 398 }, |
| 399 "category": "Sources", | 399 { |
| 400 "title": "Enable CSS source maps", | 400 "type": "setting", |
| 401 "settingName": "cssSourceMapsEnabled", | 401 "category": "Sources", |
| 402 "settingType": "boolean", | 402 "title": "Detect indentation", |
| 403 "defaultValue": true | 403 "settingName": "textEditorAutoDetectIndent", |
| 404 }, | 404 "settingType": "boolean", |
| 405 { | 405 "defaultValue": true |
| 406 "type": "view", | 406 }, |
| 407 "location": "drawer-view", | 407 { |
| 408 "id": "sources.search", | 408 "type": "setting", |
| 409 "title": "Search", | 409 "category": "Sources", |
| 410 "persistence": "closeable", | 410 "title": "Autocompletion", |
| 411 "order": 100, | 411 "settingName": "textEditorAutocompletion", |
| 412 "className": "Sources.AdvancedSearchView" | 412 "settingType": "boolean", |
| 413 }, | 413 "defaultValue": true |
| 414 { | 414 }, |
| 415 "type": "view", | 415 { |
| 416 "location": "drawer-view", | 416 "type": "setting", |
| 417 "id": "sources.history", | 417 "category": "Sources", |
| 418 "title": "History", | 418 "title": "Bracket matching", |
| 419 "persistence": "transient", | 419 "settingName": "textEditorBracketMatching", |
| 420 "className": "Sources.RevisionHistoryView" | 420 "settingType": "boolean", |
| 421 }, | 421 "defaultValue": true |
| 422 { | 422 }, |
| 423 "type": "view", | 423 { |
| 424 "location": "drawer-view", | 424 "type": "setting", |
| 425 "id": "sources.quick", | 425 "category": "Sources", |
| 426 "title": "Quick source", | 426 "title": "Show whitespace characters:", |
| 427 "persistence": "closeable", | 427 "settingName": "showWhitespacesInEditor", |
| 428 "order": 1000, | 428 "settingType": "enum", |
| 429 "className": "Sources.SourcesPanel.WrapperView" | 429 "defaultValue": "original", |
| 430 }, | 430 "options": [ |
| 431 { | 431 { |
| 432 "type": "@UI.ActionDelegate", | 432 "title": "Do not show whitespace characters", |
| 433 "category": "Sources", | 433 "text": "None", |
| 434 "actionId": "sources.close-all", | 434 "value": "none" |
| 435 "className": "Sources.SourcesView.CloseAllActionDelegate", | 435 }, |
| 436 "title": "Close All" | 436 { |
| 437 }, | 437 "title": "Show all whitespace characters", |
| 438 { | 438 "text": "All", |
| 439 "type": "@UI.ViewLocationResolver", | 439 "value": "all" |
| 440 "name": "navigator-view", | 440 }, |
| 441 "className": "Sources.SourcesPanel" | 441 { |
| 442 }, | 442 "title": "Show trailing whitespace characters", |
| 443 { | 443 "text": "Trailing", |
| 444 "type": "@UI.ViewLocationResolver", | 444 "value": "trailing" |
| 445 "name": "sources-sidebar", | 445 } |
| 446 "className": "Sources.SourcesPanel" | 446 ] |
| 447 }, | 447 }, |
| 448 { | 448 { |
| 449 "type": "view", | 449 "type": "setting", |
| 450 "location": "sources-sidebar", | 450 "category": "Sources", |
| 451 "id": "sources.xhrBreakpoints", | 451 "title": "Display variable values inline while debugging", |
| 452 "title": "XHR Breakpoints", | 452 "settingName": "inlineVariableValues", |
| 453 "order": 5, | 453 "settingType": "boolean", |
| 454 "hasToolbar": "true", | 454 "defaultValue": true |
| 455 "persistence": "permanent", | 455 }, |
| 456 "className": "Sources.XHRBreakpointsSidebarPane" | 456 { |
| 457 }, | 457 "type": "setting", |
| 458 { | 458 "category": "Sources", |
| 459 "type": "view", | 459 "title": "Enable CSS source maps", |
| 460 "location": "sources-sidebar", | 460 "settingName": "cssSourceMapsEnabled", |
| 461 "id": "sources.domBreakpoints", | 461 "settingType": "boolean", |
| 462 "title": "DOM Breakpoints", | 462 "defaultValue": true |
| 463 "order": 7, | 463 }, |
| 464 "persistence": "permanent", | 464 { |
| 465 "factoryName": "Components.DOMBreakpointsSidebarPane.Proxy" | 465 "type": "view", |
| 466 }, | 466 "location": "drawer-view", |
| 467 { | 467 "id": "sources.search", |
| 468 "type": "view", | 468 "title": "Search", |
| 469 "location": "sources-sidebar", | 469 "persistence": "closeable", |
| 470 "id": "sources.globalListeners", | 470 "order": 100, |
| 471 "title": "Global Listeners", | 471 "className": "Sources.AdvancedSearchView" |
| 472 "order": 8, | 472 }, |
| 473 "hasToolbar": "true", | 473 { |
| 474 "persistence": "permanent", | 474 "type": "view", |
| 475 "className": "Sources.ObjectEventListenersSidebarPane" | 475 "location": "drawer-view", |
| 476 }, | 476 "id": "sources.history", |
| 477 { | 477 "title": "History", |
| 478 "type": "view", | 478 "persistence": "transient", |
| 479 "location": "sources-sidebar", | 479 "className": "Sources.RevisionHistoryView" |
| 480 "id": "sources.eventListenerBreakpoints", | 480 }, |
| 481 "title": "Event Listener Breakpoints", | 481 { |
| 482 "order": 9, | 482 "type": "view", |
| 483 "persistence": "permanent", | 483 "location": "drawer-view", |
| 484 "className": "Sources.EventListenerBreakpointsSidebarPane" | 484 "id": "sources.quick", |
| 485 }, | 485 "title": "Quick source", |
| 486 { | 486 "persistence": "closeable", |
| 487 "type": "view", | 487 "order": 1000, |
| 488 "id": "sources.threads", | 488 "className": "Sources.SourcesPanel.WrapperView" |
| 489 "title": "Threads", | 489 }, |
| 490 "persistence": "permanent", | 490 { |
| 491 "className": "Sources.ThreadsSidebarPane" | 491 "type": "@UI.ActionDelegate", |
| 492 }, | 492 "category": "Sources", |
| 493 { | 493 "actionId": "sources.close-all", |
| 494 "type": "view", | 494 "className": "Sources.SourcesView.CloseAllActionDelegate", |
| 495 "id": "sources.scopeChain", | 495 "title": "Close All" |
| 496 "title": "Scope", | 496 }, |
| 497 "persistence": "permanent", | 497 { |
| 498 "className": "Sources.ScopeChainSidebarPane" | 498 "type": "@UI.ViewLocationResolver", |
| 499 }, | 499 "name": "navigator-view", |
| 500 { | 500 "className": "Sources.SourcesPanel" |
| 501 "type": "view", | 501 }, |
| 502 "id": "sources.watch", | 502 { |
| 503 "title": "Watch", | 503 "type": "@UI.ViewLocationResolver", |
| 504 "hasToolbar": true, | 504 "name": "sources-sidebar", |
| 505 "persistence": "permanent", | 505 "className": "Sources.SourcesPanel" |
| 506 "className": "Sources.WatchExpressionsSidebarPane" | 506 }, |
| 507 }, | 507 { |
| 508 { | 508 "type": "view", |
| 509 "type": "view", | 509 "location": "sources-sidebar", |
| 510 "id": "sources.jsBreakpoints", | 510 "id": "sources.xhrBreakpoints", |
| 511 "title": "Breakpoints", | 511 "title": "XHR Breakpoints", |
| 512 "persistence": "permanent", | 512 "order": 5, |
| 513 "className": "Sources.JavaScriptBreakpointsSidebarPane" | 513 "hasToolbar": "true", |
| 514 }, | 514 "persistence": "permanent", |
| 515 { | 515 "className": "Sources.XHRBreakpointsSidebarPane" |
| 516 "type": "@UI.ContextFlavorListener", | 516 }, |
| 517 "contextTypes": ["SDK.DebuggerPausedDetails"], | 517 { |
| 518 "className": "Sources.JavaScriptBreakpointsSidebarPane" | 518 "type": "view", |
| 519 }, | 519 "location": "sources-sidebar", |
| 520 { | 520 "id": "sources.domBreakpoints", |
| 521 "type": "@UI.ContextFlavorListener", | 521 "title": "DOM Breakpoints", |
| 522 "contextTypes": ["SDK.DebuggerPausedDetails"], | 522 "order": 7, |
| 523 "className": "Sources.XHRBreakpointsSidebarPane" | 523 "persistence": "permanent", |
| 524 }, | 524 "factoryName": "Components.DOMBreakpointsSidebarPane.Proxy" |
| 525 { | 525 }, |
| 526 "type": "@UI.ContextFlavorListener", | 526 { |
| 527 "contextTypes": ["SDK.DebuggerPausedDetails"], | 527 "type": "view", |
| 528 "className": "Components.DOMBreakpointsSidebarPane" | 528 "location": "sources-sidebar", |
| 529 }, | 529 "id": "sources.globalListeners", |
| 530 { | 530 "title": "Global Listeners", |
| 531 "type": "@UI.ContextFlavorListener", | 531 "order": 8, |
| 532 "contextTypes": ["SDK.DebuggerPausedDetails"], | 532 "hasToolbar": "true", |
| 533 "className": "Sources.CallStackSidebarPane" | 533 "persistence": "permanent", |
| 534 }, | 534 "className": "Sources.ObjectEventListenersSidebarPane" |
| 535 { | 535 }, |
| 536 "type": "@UI.ContextFlavorListener", | 536 { |
| 537 "contextTypes": ["SDK.DebuggerModel.CallFrame"], | 537 "type": "view", |
| 538 "className": "Sources.ScopeChainSidebarPane" | 538 "location": "sources-sidebar", |
| 539 } | 539 "id": "sources.eventListenerBreakpoints", |
| 540 ], | 540 "title": "Event Listener Breakpoints", |
| 541 "dependencies": [ | 541 "order": 9, |
| 542 "components", | 542 "persistence": "permanent", |
| 543 "source_frame", | 543 "className": "Sources.EventListenerBreakpointsSidebarPane" |
| 544 "snippets", | 544 }, |
| 545 "ui_lazy", | 545 { |
| 546 "extensions", | 546 "type": "view", |
| 547 "persistence" | 547 "id": "sources.threads", |
| 548 ], | 548 "title": "Threads", |
| 549 "scripts": [ | 549 "persistence": "permanent", |
| 550 "UIList.js", | 550 "className": "Sources.ThreadsSidebarPane" |
| 551 "AddSourceMapURLDialog.js", | 551 }, |
| 552 "CallStackSidebarPane.js", | 552 { |
| 553 "DebuggerPausedMessage.js", | 553 "type": "view", |
| 554 "SimpleHistoryManager.js", | 554 "id": "sources.scopeChain", |
| 555 "EditingLocationHistoryManager.js", | 555 "title": "Scope", |
| 556 "EventListenerBreakpointsSidebarPane.js", | 556 "persistence": "permanent", |
| 557 "FilePathScoreFunction.js", | 557 "className": "Sources.ScopeChainSidebarPane" |
| 558 "FilteredUISourceCodeListDelegate.js", | 558 }, |
| 559 "UISourceCodeFrame.js", | 559 { |
| 560 "SourceMapNamesResolver.js", | 560 "type": "view", |
| 561 "JavaScriptBreakpointsSidebarPane.js", | 561 "id": "sources.watch", |
| 562 "JavaScriptOutlineDialog.js", | 562 "title": "Watch", |
| 563 "SourceCodeDiff.js", | 563 "hasToolbar": true, |
| 564 "JavaScriptSourceFrame.js", | 564 "persistence": "permanent", |
| 565 "CSSSourceFrame.js", | 565 "className": "Sources.WatchExpressionsSidebarPane" |
| 566 "NavigatorView.js", | 566 }, |
| 567 "RevisionHistoryView.js", | 567 { |
| 568 "ScopeChainSidebarPane.js", | 568 "type": "view", |
| 569 "SourcesNavigator.js", | 569 "id": "sources.jsBreakpoints", |
| 570 "StyleSheetOutlineDialog.js", | 570 "title": "Breakpoints", |
| 571 "TabbedEditorContainer.js", | 571 "persistence": "permanent", |
| 572 "WatchExpressionsSidebarPane.js", | 572 "className": "Sources.JavaScriptBreakpointsSidebarPane" |
| 573 "ThreadsSidebarPane.js", | 573 }, |
| 574 "ScriptFormatterEditorAction.js", | 574 { |
| 575 "InplaceFormatterEditorAction.js", | 575 "type": "@UI.ContextFlavorListener", |
| 576 "ScriptFormatter.js", | 576 "contextTypes": [ |
| 577 "OpenResourceDialog.js", | 577 "SDK.DebuggerPausedDetails" |
| 578 "SourcesView.js", | 578 ], |
| 579 "AdvancedSearchView.js", | 579 "className": "Sources.JavaScriptBreakpointsSidebarPane" |
| 580 "FileBasedSearchResultsPane.js", | 580 }, |
| 581 "SourcesSearchScope.js", | 581 { |
| 582 "SourcesPanel.js", | 582 "type": "@UI.ContextFlavorListener", |
| 583 "WorkspaceMappingTip.js", | 583 "contextTypes": [ |
| 584 "XHRBreakpointsSidebarPane.js", | 584 "SDK.DebuggerPausedDetails" |
| 585 "JavaScriptCompiler.js", | 585 ], |
| 586 "ObjectEventListenersSidebarPane.js" | 586 "className": "Sources.XHRBreakpointsSidebarPane" |
| 587 ], | 587 }, |
| 588 "resources": [ | 588 { |
| 589 "uiList.css", | 589 "type": "@UI.ContextFlavorListener", |
| 590 "debuggerPausedMessage.css", | 590 "contextTypes": [ |
| 591 "eventListenerBreakpoints.css", | 591 "SDK.DebuggerPausedDetails" |
| 592 "fileBasedSearchResultsPane.css", | 592 ], |
| 593 "navigatorTree.css", | 593 "className": "Components.DOMBreakpointsSidebarPane" |
| 594 "navigatorView.css", | 594 }, |
| 595 "revisionHistory.css", | 595 { |
| 596 "serviceWorkersSidebar.css", | 596 "type": "@UI.ContextFlavorListener", |
| 597 "sourcesPanel.css", | 597 "contextTypes": [ |
| 598 "sourcesSearch.css", | 598 "SDK.DebuggerPausedDetails" |
| 599 "sourcesView.css" | 599 ], |
| 600 ] | 600 "className": "Sources.CallStackSidebarPane" |
| 601 } | 601 }, |
| 602 { |
| 603 "type": "@UI.ContextFlavorListener", |
| 604 "contextTypes": [ |
| 605 "SDK.DebuggerModel.CallFrame" |
| 606 ], |
| 607 "className": "Sources.ScopeChainSidebarPane" |
| 608 } |
| 609 ], |
| 610 "dependencies": [ |
| 611 "components", |
| 612 "source_frame", |
| 613 "snippets", |
| 614 "extensions", |
| 615 "persistence", |
| 616 "inline_editor", |
| 617 "spectrum", |
| 618 "js_ui", |
| 619 "quick_open", |
| 620 "main" |
| 621 ], |
| 622 "scripts": [ |
| 623 "UIList.js", |
| 624 "AddSourceMapURLDialog.js", |
| 625 "CallStackSidebarPane.js", |
| 626 "DebuggerPausedMessage.js", |
| 627 "SimpleHistoryManager.js", |
| 628 "EditingLocationHistoryManager.js", |
| 629 "EventListenerBreakpointsSidebarPane.js", |
| 630 "FilePathScoreFunction.js", |
| 631 "FilteredUISourceCodeListDelegate.js", |
| 632 "UISourceCodeFrame.js", |
| 633 "SourceMapNamesResolver.js", |
| 634 "JavaScriptBreakpointsSidebarPane.js", |
| 635 "JavaScriptOutlineDialog.js", |
| 636 "SourceCodeDiff.js", |
| 637 "JavaScriptSourceFrame.js", |
| 638 "CSSSourceFrame.js", |
| 639 "NavigatorView.js", |
| 640 "RevisionHistoryView.js", |
| 641 "ScopeChainSidebarPane.js", |
| 642 "SourcesNavigator.js", |
| 643 "StyleSheetOutlineDialog.js", |
| 644 "TabbedEditorContainer.js", |
| 645 "WatchExpressionsSidebarPane.js", |
| 646 "ThreadsSidebarPane.js", |
| 647 "ScriptFormatterEditorAction.js", |
| 648 "InplaceFormatterEditorAction.js", |
| 649 "ScriptFormatter.js", |
| 650 "OpenResourceDialog.js", |
| 651 "SourcesView.js", |
| 652 "AdvancedSearchView.js", |
| 653 "FileBasedSearchResultsPane.js", |
| 654 "SourcesSearchScope.js", |
| 655 "SourcesPanel.js", |
| 656 "WorkspaceMappingTip.js", |
| 657 "XHRBreakpointsSidebarPane.js", |
| 658 "JavaScriptCompiler.js", |
| 659 "ObjectEventListenersSidebarPane.js" |
| 660 ], |
| 661 "resources": [ |
| 662 "dialog.css", |
| 663 "uiList.css", |
| 664 "debuggerPausedMessage.css", |
| 665 "eventListenerBreakpoints.css", |
| 666 "fileBasedSearchResultsPane.css", |
| 667 "navigatorTree.css", |
| 668 "navigatorView.css", |
| 669 "revisionHistory.css", |
| 670 "serviceWorkersSidebar.css", |
| 671 "sourcesPanel.css", |
| 672 "sourcesSearch.css", |
| 673 "sourcesView.css" |
| 674 ] |
| 675 } |
| OLD | NEW |