|
51 | 51 | "activitybar": [ |
52 | 52 | { |
53 | 53 | "id": "cmsis-debugger", |
54 | | - "title": "CMSIS Debug", |
55 | | - "icon": "$(rocket)" |
| 54 | + "title": "Trace and Live View", |
| 55 | + "icon": "media/trace-and-live-dark.svg" |
56 | 56 | } |
57 | 57 | ] |
58 | 58 | }, |
59 | 59 | "views": { |
60 | 60 | "cmsis-debugger": [ |
61 | 61 | { |
62 | 62 | "id": "cmsis-debugger.liveWatch", |
63 | | - "name": "Live Watch" |
| 63 | + "name": "Live Watch", |
| 64 | + "icon": "media/trace-and-live-light.svg" |
64 | 65 | } |
65 | 66 | ] |
66 | 67 | }, |
|
80 | 81 | "when": "inDebugMode" |
81 | 82 | }, |
82 | 83 | { |
83 | | - "command": "cmsis-debugger.liveWatch.add", |
| 84 | + "command": "vscode-cmsis-debugger.liveWatch.add", |
84 | 85 | "title": "Add Expression", |
85 | | - "icon": "$(add)" |
| 86 | + "icon": "$(add)", |
| 87 | + "category": "Live Watch" |
86 | 88 | }, |
87 | 89 | { |
88 | | - "command": "cmsis-debugger.liveWatch.deleteAll", |
| 90 | + "command": "vscode-cmsis-debugger.liveWatch.deleteAll", |
89 | 91 | "title": "Delete All Expressions", |
90 | | - "icon": "$(close-all)" |
| 92 | + "icon": "$(close-all)", |
| 93 | + "category": "Live Watch" |
91 | 94 | }, |
92 | 95 | { |
93 | | - "command": "cmsis-debugger.liveWatch.delete", |
| 96 | + "command": "vscode-cmsis-debugger.liveWatch.delete", |
94 | 97 | "title": "Delete Expression", |
95 | | - "icon": "$(close)" |
| 98 | + "icon": "$(close)", |
| 99 | + "category": "Live Watch" |
96 | 100 | }, |
97 | 101 | { |
98 | | - "command": "cmsis-debugger.liveWatch.refresh", |
| 102 | + "command": "vscode-cmsis-debugger.liveWatch.refresh", |
99 | 103 | "title": "Refresh", |
100 | | - "icon": "$(refresh)" |
| 104 | + "icon": "$(refresh)", |
| 105 | + "category": "Live Watch" |
101 | 106 | }, |
102 | 107 | { |
103 | | - "command": "cmsis-debugger.liveWatch.modify", |
| 108 | + "command": "vscode-cmsis-debugger.liveWatch.modify", |
104 | 109 | "title": "Modify Expression", |
105 | | - "icon": "$(pencil)" |
| 110 | + "icon": "$(pencil)", |
| 111 | + "category": "Live Watch" |
| 112 | + }, |
| 113 | + { |
| 114 | + "command": "vscode-cmsis-debugger.liveWatch.copy", |
| 115 | + "title": "Copy Expression", |
| 116 | + "category": "Live Watch" |
106 | 117 | } |
107 | 118 | ], |
108 | 119 | "menus": { |
|
114 | 125 | { |
115 | 126 | "command": "vscode-cmsis-debugger.resetCpuTimeHistory", |
116 | 127 | "when": "inDebugMode" |
| 128 | + }, |
| 129 | + { |
| 130 | + "command": "vscode-cmsis-debugger.liveWatch.add", |
| 131 | + "when": "true" |
| 132 | + }, |
| 133 | + { |
| 134 | + "command": "vscode-cmsis-debugger.liveWatch.deleteAll", |
| 135 | + "when": "true" |
| 136 | + }, |
| 137 | + { |
| 138 | + "command": "vscode-cmsis-debugger.liveWatch.refresh", |
| 139 | + "when": "inDebugMode" |
| 140 | + }, |
| 141 | + { |
| 142 | + "command": "vscode-cmsis-debugger.liveWatch.modify", |
| 143 | + "when": "false" |
| 144 | + }, |
| 145 | + { |
| 146 | + "command": "vscode-cmsis-debugger.liveWatch.delete", |
| 147 | + "when": "false" |
| 148 | + }, |
| 149 | + { |
| 150 | + "command": "vscode-cmsis-debugger.liveWatch.copy", |
| 151 | + "when": "false" |
117 | 152 | } |
118 | 153 | ], |
119 | 154 | "view/title": [ |
120 | 155 | { |
121 | | - "command": "cmsis-debugger.liveWatch.add", |
| 156 | + "command": "vscode-cmsis-debugger.liveWatch.add", |
| 157 | + "when": "view == cmsis-debugger.liveWatch" |
| 158 | + }, |
| 159 | + { |
| 160 | + "command": "vscode-cmsis-debugger.liveWatch.deleteAll", |
| 161 | + "when": "view == cmsis-debugger.liveWatch" |
| 162 | + }, |
| 163 | + { |
| 164 | + "command": "vscode-cmsis-debugger.liveWatch.refresh", |
| 165 | + "when": "view == cmsis-debugger.liveWatch" |
| 166 | + }, |
| 167 | + { |
| 168 | + "command": "vscode-cmsis-debugger.liveWatch.add", |
122 | 169 | "when": "view == cmsis-debugger.liveWatch", |
123 | 170 | "group": "navigation@1" |
124 | 171 | }, |
125 | 172 | { |
126 | | - "command": "cmsis-debugger.liveWatch.deleteAll", |
| 173 | + "command": "vscode-cmsis-debugger.liveWatch.deleteAll", |
127 | 174 | "when": "view == cmsis-debugger.liveWatch", |
128 | 175 | "group": "navigation@3" |
129 | 176 | }, |
130 | 177 | { |
131 | | - "command": "cmsis-debugger.liveWatch.refresh", |
| 178 | + "command": "vscode-cmsis-debugger.liveWatch.refresh", |
132 | 179 | "when": "view == cmsis-debugger.liveWatch", |
133 | 180 | "group": "navigation@2" |
134 | 181 | } |
135 | 182 | ], |
136 | 183 | "view/item/context": [ |
137 | 184 | { |
138 | | - "command": "cmsis-debugger.liveWatch.modify", |
| 185 | + "command": "vscode-cmsis-debugger.liveWatch.modify", |
139 | 186 | "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
140 | 187 | "group": "inline@1" |
141 | 188 | }, |
142 | 189 | { |
143 | | - "command": "cmsis-debugger.liveWatch.delete", |
| 190 | + "command": "vscode-cmsis-debugger.liveWatch.delete", |
144 | 191 | "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
145 | 192 | "group": "inline@2" |
| 193 | + }, |
| 194 | + { |
| 195 | + "command": "vscode-cmsis-debugger.liveWatch.modify", |
| 196 | + "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
| 197 | + "group": "contextMenuG1@2" |
| 198 | + }, |
| 199 | + { |
| 200 | + "command": "vscode-cmsis-debugger.liveWatch.delete", |
| 201 | + "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
| 202 | + "group": "contextMenuG1@4" |
| 203 | + }, |
| 204 | + { |
| 205 | + "command": "vscode-cmsis-debugger.liveWatch.add", |
| 206 | + "when": "view == cmsis-debugger.liveWatch", |
| 207 | + "group": "contextMenuG1@1" |
| 208 | + }, |
| 209 | + { |
| 210 | + "command": "vscode-cmsis-debugger.liveWatch.deleteAll", |
| 211 | + "when": "view == cmsis-debugger.liveWatch", |
| 212 | + "group": "contextMenuG2@1" |
| 213 | + }, |
| 214 | + { |
| 215 | + "command": "vscode-cmsis-debugger.liveWatch.refresh", |
| 216 | + "when": "view == cmsis-debugger.liveWatch", |
| 217 | + "group": "contextMenuG2@2" |
| 218 | + }, |
| 219 | + { |
| 220 | + "command": "vscode-cmsis-debugger.liveWatch.copy", |
| 221 | + "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
| 222 | + "group": "contextMenuG1@3" |
146 | 223 | } |
147 | 224 | ] |
148 | 225 | }, |
|
0 commit comments