microsoft / microsoft/vscode-cpptools
Warn about incorrect include paths in the compile command's file
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
For my extension, I'm creating a better Backup Intellisense that parses the compile commands for includePaths which also lets you convert it to exclusive includePath Intellisense.
Doing so shows 88 include paths, in the compile commands file, that were incorrect. They must be not that important since Intellisense still worked.
Would this be considered a bug(or feature request) that the cpptools extension doesn't warn about incorrect include paths in the compile command's file?
Originally posted by @boocs in https://github.com/microsoft/vscode-cpptools/issues/6358#issuecomment-761285903
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 der Compile-Commands-Datei, die die gemeldeten falschen Include-Pfade enthält, und überprüfe, wie die Erweiterung diese Pfade verwendet. Bestimme, wie ein ungültiger Pfad erkannt werden sollte und wo eine Warnung für Benutzer angezeigt werden sollte; die Aufgabe ist abgeschlossen, wenn falsche Include-Pfade zuverlässig eine klare Warnung erzeugen, ohne funktionierendes IntelliSense zu beeinträchtigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100