Commit f985fca
committed
fix(Mountain): Inject security.workspace.trust.enabled=false by default
Atom I7: Add logic to AppLifecycle to ensure the VS Code workspace trust
system is disabled in User/settings.json. Without this, opening the Land
repo as a workspace triggers VS Code's trust gate which marks built-in
extensions as `DisabledByTrustRequirement` because they ship under
`Element/Sky/Target/Static/Application/extensions/` — inside the repo.
This writes `"security.workspace.trust.enabled": false` only if the key
isn't already present. Users can opt back in by editing their
User/settings.json.
This ensures built-in extensions load reliably regardless of which
folder the user picks as their workspace.1 parent b5b669a commit f985fca
1 file changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
267 | 305 | | |
268 | 306 | | |
269 | 307 | | |
| |||
0 commit comments