Request: allow different C/C++ intelliSense configurations on the .code-workspace file

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

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cpp, typescript

Rechercherichtung

Beginne damit nachzuverfolgen, wie die Einstellungen C_Cpp.default.* in der Datei .code-workspace zusammen mit C_Cpp_properties.json verarbeitet werden. Lege fest, wie mehrere Konfigurationen dargestellt und ausgewählt werden sollen, und überprüfe anschließend, dass gleichwertige Konfigurationen funktionieren, ohne dass C_Cpp_properties.json erforderlich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Feature Request Language Service

Before the latest update of the C/C++ extension, the intelliSense configuration parameters (includePath, defines...) were defined in the C_Cpp_properties.json file. With the update, it is possible to define these parameters in the .code-workspace file, as C_Cpp.default.*, without a need for the C_Cpp_properties.json file. But this can only be done for one configuration (the default one). Therefore, if I have multiple configurations, I still need a C_Cpp_properties.json file.

I suggest that it should be allowed to define multiple configurations in the .code-workspace file, so that a C_Cpp_properties.json file is always optional.

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/vscode-cpptools

Alle Issues in microsoft/vscode-cpptools

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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