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