microsoft / microsoft/vscode-cpptools

Document customConfigurationVariables property and cpptools.activeConfigCustomVariable command

Offen
#6,476 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

docs Language Service
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

The c_cpp_properties.json file supports a customConfigurationVariables property and the plugin provides the cpptools.activeConfigCustomVariable command to access those custom configuration variables for example from the tasks.json. This allows a flexible integration of the C/C++ configurations with the VS Code Tasks.

However, neither the customConfigurationVariables property nor the related cpptools.activeConfigCustomVariable command are documented in the reference https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der im Issue verlinkten Referenz zum C/C++-Properties-Schema und finde deren Abschnitte zur Dokumentation von Properties und Commands. Dokumentiere die Property customConfigurationVariables und den Command cpptools.activeConfigCustomVariable einschließlich ihrer Verwendung mit tasks.json; als erledigt gilt die Aufgabe, wenn beide in der Referenz abgedeckt sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
1/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
50/100

Neue Issues direkt in Ihr Postfach

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