devcontainers / devcontainers/spec
Different behavior using legacy options
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 5.7k
- Fork
- 496
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Problem
Using the deprecated properties `settings` and `extensions` will overwrite/reset all other user settings and not install any other extensions than defined in the property `extensions`.
Using the properties inside the `customizations` property will only **change** the defined settings and install the defined extensions **additionally** to the user extensions.
**Deprecated properties (legacy mode):**
```json
"settings": {},
"extensions": ["ms-python.python"]
```
**Current usage of these properties:**
```json
"customizations": {
"vscode": {
"settings": {},
"extensions": ["ms-python.python"]
}
}
```
The `customizations` property was discussed in #1.
## Proposal
It should be possible to **reset** any user settings/extensions in `customizations` → `vscode` → `settings` / `extensions`.
Maybe add a property `reset`:
```json
"customizations": {
"vscode": {
"reset": {
"settings": true,
"extensions": true,
}
}
}
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo gli esempi di legacy e customizations in questa issue, quindi esamina la discussione collegata nell’issue #1. Chiarisci la semantica di reset prevista per le impostazioni e le estensioni di VS Code, compreso il modo in cui interagiscono con i valori dell’utente, prima di definire quali modifiche alla specifica costituirebbero il completamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- vscode
- Ambito
- developer-experience
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100