|
65 | 65 | }, |
66 | 66 | "activationEvents": [ |
67 | 67 | "workspaceContains:./pico_sdk_import.cmake", |
| 68 | + "workspaceContains:./.pico-rs", |
68 | 69 | "onWebviewPanel:newPicoProject", |
69 | 70 | "onWebviewPanel:newPicoMicroPythonProject" |
70 | 71 | ], |
|
79 | 80 | "command": "raspberry-pi-pico.switchSDK", |
80 | 81 | "title": "Switch Pico SDK", |
81 | 82 | "category": "Raspberry Pi Pico", |
82 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 83 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
83 | 84 | }, |
84 | 85 | { |
85 | 86 | "command": "raspberry-pi-pico.switchBoard", |
86 | 87 | "title": "Switch Board", |
87 | 88 | "category": "Raspberry Pi Pico", |
88 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 89 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
89 | 90 | }, |
90 | 91 | { |
91 | 92 | "command": "raspberry-pi-pico.launchTargetPath", |
|
151 | 152 | "command": "raspberry-pi-pico.runProject", |
152 | 153 | "title": "Run Pico Project (USB)", |
153 | 154 | "category": "Raspberry Pi Pico", |
154 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 155 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
155 | 156 | }, |
156 | 157 | { |
157 | 158 | "command": "raspberry-pi-pico.clearGithubApiCache", |
|
162 | 163 | "command": "raspberry-pi-pico.conditionalDebugging", |
163 | 164 | "title": "Conditional Debugging", |
164 | 165 | "category": "Raspberry Pi Pico", |
165 | | - "enablement": "raspberry-pi-pico.isPicoProject && !inQuickOpen" |
| 166 | + "enablement": "raspberry-pi-pico.isPicoProject && !inQuickOpen && !raspberry-pi-pico.isRustProject" |
166 | 167 | }, |
167 | 168 | { |
168 | 169 | "command": "raspberry-pi-pico.debugLayout", |
|
179 | 180 | "command": "raspberry-pi-pico.configureCmake", |
180 | 181 | "title": "Configure CMake", |
181 | 182 | "category": "Raspberry Pi Pico", |
182 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 183 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
183 | 184 | }, |
184 | 185 | { |
185 | 186 | "command": "raspberry-pi-pico.importProject", |
|
200 | 201 | "command": "raspberry-pi-pico.flashProject", |
201 | 202 | "title": "Flash Pico Project (SWD)", |
202 | 203 | "category": "Raspberry Pi Pico", |
203 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 204 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
204 | 205 | } |
205 | 206 | ], |
206 | 207 | "configuration": { |
|
307 | 308 | "got": "^14.4.2", |
308 | 309 | "ini": "^4.1.3", |
309 | 310 | "rimraf": "^5.0.7", |
| 311 | + "toml": "^3.0.0", |
310 | 312 | "undici": "^6.19.7", |
311 | 313 | "uuid": "^10.0.0", |
312 | 314 | "which": "^4.0.0" |
|
0 commit comments