microsoft / microsoft/vscode-cpptools
Documentation request how to specify include firs for intelisense and defines
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
Feature Request
We build with makefile cross compiling
An in my makefile I can add a target to create a file that lists sec firs and include firs and active # defines for intellisense
what does not work is having viscose just select all h files under the project root for
reason: I have different( multiple) chip drivers in different sub directories the makefile has a macro/variable that controls the active target and configuration
Example top dir is BSP and under that dir are 5 different boards something like this
BSP/boardname/include/board gpio.h
and BSP/src/board gpio.c
thus a makefile target can create a file for intelisense
part 2 is how do I tell vs-code to forget and delete the intellisense database because it is lost or the configuration has changed and it needs to be rebuilt
what files do I delete to make that happen
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Makefile-Target, das Include-Verzeichnisse und aktive #defines ausgibt, und vergleiche es anschließend mit der VS Code IntelliSense-Konfiguration und dem Datenbankverhalten. Aktualisiere die Dokumentation so, dass sowohl die Auswahl der generierten Konfiguration für das BSP/board layout als auch die unterstützte Möglichkeit, einen Neubau zu erzwingen, abgedeckt sind; fertig ist die Aufgabe, wenn beide Fragen explizite Schritte enthalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c, cpp
- Bereich
- developer-experience, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100