devcontainers / devcontainers/spec
Different behavior using legacy options
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 5.7k
- Forks
- 498
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## 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,
}
}
}
```
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Legacy- und Customizations-Beispiele in diesem Issue zu lesen, und prüfe anschließend die verknüpfte Diskussion in Issue #1. Kläre die beabsichtigte Reset-Semantik für VS Code-Einstellungen und -Erweiterungen, einschließlich ihrer Interaktion mit Benutzerwerten, bevor du festlegst, welche Änderungen an der Spezifikation den Abschluss darstellen würden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- vscode
- Bereich
- developer-experience
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100