devcontainers / devcontainers/spec

customizations.vscode.codeWorkspace property

Offen
#3 0 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
proposal
Vorherrschende Sprache
Keine Sprachdaten
Sterne
5.7k
Forks
496
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

More complex VS Code projects tend to use a `.code-workspace` file to provide a custom view over the actual file structure, surface multiple launch configs, tasks, and terminals. Today, opening a folder in a dev container (either locally or in Codespaces) will prompt you to use the workspace file if it is in the folder that was opened.

However, given these projects tend to always be used this way, ideally we'd provide a way to allow you to specify a path to a `.code-workspace` file in `devcontainer.json` that should always be opened.

This is a VS Code specific property, so its location will depend partly on #1.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der devcontainer.json-Spezifikation und dem zugehörigen Design in Issue #1, da der Speicherort der Eigenschaft von dieser Entscheidung abhängt. Verfolge, wie VS Code-spezifische Eigenschaften dargestellt und dokumentiert werden. Als abgeschlossen gilt die Aufgabe, wenn ein definierter workspace-file-Pfad angegeben werden kann und für lokale Dev-Container und Codespaces-Dev-Container konsistent geöffnet wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
vscode
Bereich
developer-experience
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.