microsoft / microsoft/vscode-cpptools
[Feature Request] Automatic source file map configuration
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
This is a feature request for quality-of-life improvement to debugging experience.
When regular Visual Studio is asked to step into function for which it doesn't have code, it opens up a file open dialog to locate the file. Once the user navigates to the directory that matches suffix of the requested file, this directory is automatically added to the solution configuration.
This is particularly useful for code that you don't compile yourself but aquire independently and it is located in a place that is different than original build location.
For example, I regularly debug Qt installed via the Qt installer. It's obviously located in different place than the binaries were built in so I have to configure the source location.
Having a new button "Locate file" in a missing file popup, alongside the "Create file" would be a nice quality of life improvment and would nicely enchance discoverability of the feature:

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
Keine Quelldatei oder kein Test wird genannt. Beginne damit, das Popup für fehlende Dateien sowie das vorhandene Verhalten zur Quellpositions- oder Lösungskonfiguration zu lokalisieren; fertig ist es, wenn eine neue Aktion "Locate file" es Benutzern ermöglicht, die Datei auszuwählen und ihr passendes Verzeichnis automatisch zur Konfiguration hinzuzufügen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript
- Bereich
- developer-experience, devtools
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100