|
47 | 47 | "onStartupFinished" |
48 | 48 | ], |
49 | 49 | "contributes": { |
| 50 | + "viewsContainers": { |
| 51 | + "activitybar": [ |
| 52 | + { |
| 53 | + "id": "cmsis-debugger", |
| 54 | + "title": "CMSIS Debug", |
| 55 | + "icon": "$(rocket)" |
| 56 | + } |
| 57 | + ] |
| 58 | + }, |
| 59 | + "views": { |
| 60 | + "cmsis-debugger": [ |
| 61 | + { |
| 62 | + "id": "cmsis-debugger.liveWatch", |
| 63 | + "name": "Live Watch" |
| 64 | + } |
| 65 | + ] |
| 66 | + }, |
50 | 67 | "commands": [ |
51 | 68 | { |
52 | 69 | "title": "CPU Time", |
|
61 | 78 | "command": "vscode-cmsis-debugger.resetCpuTimeHistory", |
62 | 79 | "category": "Run and Debug", |
63 | 80 | "when": "inDebugMode" |
| 81 | + }, |
| 82 | + { |
| 83 | + "command": "cmsis-debugger.liveWatch.add", |
| 84 | + "title": "Add Expression", |
| 85 | + "icon": "$(add)" |
| 86 | + }, |
| 87 | + { |
| 88 | + "command": "cmsis-debugger.liveWatch.deleteAll", |
| 89 | + "title": "Delete All Expressions", |
| 90 | + "icon": "$(close-all)" |
| 91 | + }, |
| 92 | + { |
| 93 | + "command": "cmsis-debugger.liveWatch.delete", |
| 94 | + "title": "Delete Expression", |
| 95 | + "icon": "$(close)" |
| 96 | + }, |
| 97 | + { |
| 98 | + "command": "cmsis-debugger.liveWatch.refresh", |
| 99 | + "title": "Refresh", |
| 100 | + "icon": "$(refresh)" |
| 101 | + }, |
| 102 | + { |
| 103 | + "command": "cmsis-debugger.liveWatch.modify", |
| 104 | + "title": "Modify Expression", |
| 105 | + "icon": "$(pencil)" |
64 | 106 | } |
65 | 107 | ], |
66 | 108 | "menus": { |
|
73 | 115 | "command": "vscode-cmsis-debugger.resetCpuTimeHistory", |
74 | 116 | "when": "inDebugMode" |
75 | 117 | } |
| 118 | + ], |
| 119 | + "view/title": [ |
| 120 | + { |
| 121 | + "command": "cmsis-debugger.liveWatch.add", |
| 122 | + "when": "view == cmsis-debugger.liveWatch", |
| 123 | + "group": "navigation@1" |
| 124 | + }, |
| 125 | + { |
| 126 | + "command": "cmsis-debugger.liveWatch.deleteAll", |
| 127 | + "when": "view == cmsis-debugger.liveWatch", |
| 128 | + "group": "navigation@3" |
| 129 | + }, |
| 130 | + { |
| 131 | + "command": "cmsis-debugger.liveWatch.refresh", |
| 132 | + "when": "view == cmsis-debugger.liveWatch", |
| 133 | + "group": "navigation@2" |
| 134 | + } |
| 135 | + ], |
| 136 | + "view/item/context": [ |
| 137 | + { |
| 138 | + "command": "cmsis-debugger.liveWatch.modify", |
| 139 | + "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
| 140 | + "group": "inline@1" |
| 141 | + }, |
| 142 | + { |
| 143 | + "command": "cmsis-debugger.liveWatch.delete", |
| 144 | + "when": "view == cmsis-debugger.liveWatch && viewItem == expression", |
| 145 | + "group": "inline@2" |
| 146 | + } |
76 | 147 | ] |
77 | 148 | }, |
78 | 149 | "debuggers": [ |
|
0 commit comments