|
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", |
|
157 | 158 | "command": "raspberry-pi-pico.runProject", |
158 | 159 | "title": "Run Pico Project (USB)", |
159 | 160 | "category": "Raspberry Pi Pico", |
160 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 161 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
161 | 162 | }, |
162 | 163 | { |
163 | 164 | "command": "raspberry-pi-pico.clearGithubApiCache", |
|
168 | 169 | "command": "raspberry-pi-pico.conditionalDebugging", |
169 | 170 | "title": "Conditional Debugging", |
170 | 171 | "category": "Raspberry Pi Pico", |
171 | | - "enablement": "raspberry-pi-pico.isPicoProject && !inQuickOpen" |
| 172 | + "enablement": "raspberry-pi-pico.isPicoProject && !inQuickOpen && !raspberry-pi-pico.isRustProject" |
172 | 173 | }, |
173 | 174 | { |
174 | 175 | "command": "raspberry-pi-pico.debugLayout", |
|
185 | 186 | "command": "raspberry-pi-pico.configureCmake", |
186 | 187 | "title": "Configure CMake", |
187 | 188 | "category": "Raspberry Pi Pico", |
188 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 189 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
189 | 190 | }, |
190 | 191 | { |
191 | 192 | "command": "raspberry-pi-pico.switchBuildType", |
|
212 | 213 | "command": "raspberry-pi-pico.flashProject", |
213 | 214 | "title": "Flash Pico Project (SWD)", |
214 | 215 | "category": "Raspberry Pi Pico", |
215 | | - "enablement": "raspberry-pi-pico.isPicoProject" |
| 216 | + "enablement": "raspberry-pi-pico.isPicoProject && !raspberry-pi-pico.isRustProject" |
216 | 217 | }, |
217 | 218 | { |
218 | 219 | "command": "raspberry-pi-pico.cleanCmake", |
|
325 | 326 | "got": "^14.4.5", |
326 | 327 | "ini": "^5.0.0", |
327 | 328 | "rimraf": "^6.0.1", |
| 329 | + "toml": "^3.0.0", |
328 | 330 | "undici": "^6.21.0", |
329 | 331 | "uuid": "^11.0.4", |
330 | 332 | "which": "^5.0.0" |
|
0 commit comments