OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
| 3 { |
| 4 "type": "view", |
| 5 "location": "panel", |
| 6 "id": "console", |
| 7 "title": "Console", |
| 8 "order": 20, |
| 9 "className": "Console.ConsolePanel" |
| 10 }, |
| 11 { |
| 12 "type": "view", |
| 13 "location": "drawer-view", |
| 14 "id": "console-view", |
| 15 "title": "Console", |
| 16 "persistence": "permanent", |
| 17 "order": 0, |
| 18 "className": "Console.ConsolePanel.WrapperView" |
| 19 }, |
| 20 { |
| 21 "type": "@Common.Revealer", |
| 22 "contextTypes": [ |
| 23 "Common.Console" |
| 24 ], |
| 25 "className": "Console.ConsolePanel.ConsoleRevealer" |
| 26 }, |
| 27 { |
| 28 "type": "@UI.ActionDelegate", |
| 29 "actionId": "console.show", |
| 30 "className": "Console.ConsoleView.ActionDelegate", |
| 31 "bindings": [ |
3 { | 32 { |
4 "type": "view", | 33 "shortcut": "Ctrl+`" |
5 "location": "panel", | 34 } |
6 "id": "console", | 35 ] |
7 "title": "Console", | 36 }, |
8 "order": 20, | 37 { |
9 "className": "Console.ConsolePanel" | 38 "type": "@UI.ActionDelegate", |
| 39 "category": "Console", |
| 40 "actionId": "console.clear", |
| 41 "title": "Clear console", |
| 42 "iconClass": "largeicon-clear", |
| 43 "className": "Console.ConsoleView.ActionDelegate", |
| 44 "bindings": [ |
| 45 { |
| 46 "platform": "windows,linux", |
| 47 "shortcut": "Ctrl+L" |
10 }, | 48 }, |
11 { | 49 { |
12 "type": "view", | 50 "platform": "mac", |
13 "location": "drawer-view", | 51 "shortcut": "Ctrl+L Meta+K" |
14 "id": "console-view", | 52 } |
15 "title": "Console", | 53 ] |
16 "persistence": "permanent", | 54 }, |
17 "order": 0, | 55 { |
18 "className": "Console.ConsolePanel.WrapperView" | 56 "type": "@UI.ActionDelegate", |
| 57 "category": "Console", |
| 58 "actionId": "console.clear.history", |
| 59 "title": "Clear console history", |
| 60 "className": "Console.ConsoleView.ActionDelegate" |
| 61 }, |
| 62 { |
| 63 "type": "setting", |
| 64 "category": "Console", |
| 65 "title": "Hide network messages", |
| 66 "settingName": "hideNetworkMessages", |
| 67 "settingType": "boolean", |
| 68 "defaultValue": false, |
| 69 "options": [ |
| 70 { |
| 71 "value": true, |
| 72 "title": "Hide network messages" |
19 }, | 73 }, |
20 { | 74 { |
21 "type": "@Common.Revealer", | 75 "value": false, |
22 "contextTypes": ["Common.Console"], | 76 "title": "Show network messages" |
23 "className": "Console.ConsolePanel.ConsoleRevealer" | 77 } |
| 78 ] |
| 79 }, |
| 80 { |
| 81 "type": "setting", |
| 82 "category": "Console", |
| 83 "title": "Hide violations", |
| 84 "settingName": "hideViolationMessages", |
| 85 "settingType": "boolean", |
| 86 "defaultValue": true, |
| 87 "options": [ |
| 88 { |
| 89 "value": true, |
| 90 "title": "Hide violations" |
24 }, | 91 }, |
25 { | 92 { |
26 "type": "@UI.ActionDelegate", | 93 "value": false, |
27 "actionId": "console.show", | 94 "title": "Show violations" |
28 "className": "Console.ConsoleView.ActionDelegate", | 95 } |
29 "bindings": [ | 96 ] |
30 { | 97 }, |
31 "shortcut": "Ctrl+`" | 98 { |
32 } | 99 "type": "setting", |
33 ] | 100 "category": "Console", |
| 101 "title": "Log XMLHttpRequests", |
| 102 "settingName": "monitoringXHREnabled", |
| 103 "settingType": "boolean", |
| 104 "defaultValue": false |
| 105 }, |
| 106 { |
| 107 "type": "setting", |
| 108 "category": "Console", |
| 109 "title": "Show timestamps", |
| 110 "settingName": "consoleTimestampsEnabled", |
| 111 "settingType": "boolean", |
| 112 "defaultValue": false, |
| 113 "options": [ |
| 114 { |
| 115 "value": true, |
| 116 "title": "Show timestamps" |
34 }, | 117 }, |
35 { | 118 { |
36 "type": "@UI.ActionDelegate", | 119 "value": false, |
37 "category": "Console", | 120 "title": "Hide timestamps" |
38 "actionId": "console.clear", | 121 } |
39 "title": "Clear console", | 122 ] |
40 "iconClass": "largeicon-clear", | 123 }, |
41 "className": "Console.ConsoleView.ActionDelegate", | 124 { |
42 "bindings": [ | 125 "type": "setting", |
43 { | 126 "category": "Console", |
44 "platform": "windows,linux", | 127 "title": "Autocomplete from history", |
45 "shortcut": "Ctrl+L" | 128 "settingName": "consoleHistoryAutocomplete", |
46 }, | 129 "settingType": "boolean", |
47 { | 130 "defaultValue": true, |
48 "platform": "mac", | 131 "options": [ |
49 "shortcut": "Ctrl+L Meta+K" | 132 { |
50 } | 133 "value": true, |
51 ] | 134 "title": "Autocomplete from history" |
52 }, | 135 }, |
53 { | 136 { |
54 "type": "@UI.ActionDelegate", | 137 "value": false, |
55 "category": "Console", | 138 "title": "Do not autocomplete from history" |
56 "actionId": "console.clear.history", | |
57 "title": "Clear console history", | |
58 "className": "Console.ConsoleView.ActionDelegate" | |
59 }, | |
60 { | |
61 "type": "setting", | |
62 "category": "Console", | |
63 "title": "Hide network messages", | |
64 "settingName": "hideNetworkMessages", | |
65 "settingType": "boolean", | |
66 "defaultValue": false, | |
67 "options": [ | |
68 { "value": true, "title": "Hide network messages" }, | |
69 { "value": false, "title": "Show network messages" } | |
70 ] | |
71 }, | |
72 { | |
73 "type": "setting", | |
74 "category": "Console", | |
75 "title": "Hide violations", | |
76 "settingName": "hideViolationMessages", | |
77 "settingType": "boolean", | |
78 "defaultValue": true, | |
79 "options": [ | |
80 { "value": true, "title": "Hide violations" }, | |
81 { "value": false, "title": "Show violations" } | |
82 ] | |
83 }, | |
84 { | |
85 "type": "setting", | |
86 "category": "Console", | |
87 "title": "Log XMLHttpRequests", | |
88 "settingName": "monitoringXHREnabled", | |
89 "settingType": "boolean", | |
90 "defaultValue": false | |
91 }, | |
92 { | |
93 "type": "setting", | |
94 "category": "Console", | |
95 "title": "Show timestamps", | |
96 "settingName": "consoleTimestampsEnabled", | |
97 "settingType": "boolean", | |
98 "defaultValue": false, | |
99 "options": [ | |
100 { "value": true, "title": "Show timestamps" }, | |
101 { "value": false, "title": "Hide timestamps" } | |
102 ] | |
103 }, | |
104 { | |
105 "type": "setting", | |
106 "category": "Console", | |
107 "title": "Autocomplete from history", | |
108 "settingName": "consoleHistoryAutocomplete", | |
109 "settingType": "boolean", | |
110 "defaultValue": true, | |
111 "options": [ | |
112 { "value": true, "title": "Autocomplete from history" }, | |
113 { "value": false, "title": "Do not autocomplete from history" } | |
114 ] | |
115 } | 139 } |
116 ], | 140 ] |
117 "dependencies": [ | 141 } |
118 "components", "ui_lazy" | 142 ], |
119 ], | 143 "dependencies": [ |
120 "scripts": [ | 144 "components", |
121 "ConsoleContextSelector.js", | 145 "data_grid" |
122 "ConsoleViewport.js", | 146 ], |
123 "ConsoleViewMessage.js", | 147 "scripts": [ |
124 "ConsolePrompt.js", | 148 "ConsoleContextSelector.js", |
125 "ConsoleView.js", | 149 "ConsoleViewport.js", |
126 "ConsolePanel.js" | 150 "ConsoleViewMessage.js", |
127 ], | 151 "ConsolePrompt.js", |
128 "resources": [ | 152 "ConsoleView.js", |
129 "consoleView.css" | 153 "ConsolePanel.js" |
130 ] | 154 ], |
131 } | 155 "resources": [ |
| 156 "consoleView.css" |
| 157 ] |
| 158 } |
OLD | NEW |