Commit a688f52
LittleCoinCoin
fix(vscode): set mcp configure to user-wide by default
- Replace Path.cwd() workspace assumption with cross-platform user settings paths
- Support Windows (%APPDATA%\Code\User\settings.json), macOS (~/Library/Application Support/Code/User/settings.json), Linux (~/.config/Code/User/settings.json)
- Fix is_host_available() to check VS Code installation rather than workspace directory
- Maintain mcp.servers config key and flexible server validation
- No backward compatibility needed as previous implementation was non-functional
Resolves critical 'Incorrect Working Directory Assumption' identified in analysis.
Enables proper VS Code MCP integration with user-wide configuration scope.1 parent 2824de7 commit a688f52
1 file changed
+35
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
| 301 | + | |
| 302 | + | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
307 | 324 | | |
308 | 325 | | |
309 | 326 | | |
310 | | - | |
| 327 | + | |
311 | 328 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
316 | 341 | | |
317 | 342 | | |
318 | 343 | | |
| |||
0 commit comments