microsoft / microsoft/vscode-cpptools
Code compilation of angular bracket for STL data structures and similar data types
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
Type: Feature Request
In the current version of vscode, code compilation of data structures like "vector", "map" just places the name like vector map not like vector<cursor>, map<first cursor, second cursor> which is not the way most people write code in c++. When I asked questions about this problem, maintainer @sean-mcmanus told me that due to some other ways of writing those data structures ( for example: vector i = { 1 }; is a valid syntax ) they couldn't be able to provide the conventional code completion syntax. So, I suggested that give us an option ( something like "use angular bracket in data structure " : true/false ) to choose whether we want the conventional way of completion ( vector<cursor> ) or not ( vector ). He asked me if I could file a feature request so that others can place their vote about this problem. By upvoting this idea, we can get the attention of the developers and might have this 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
Beginne mit der Überprüfung der verlinkten Diskussion und des bestehenden Completion-Verhaltens für STL-Datenstrukturen. Finde die Completion-Implementierung, die Einstellungen und die zugehörigen Tests und bestimme anschließend, wie eine Option die Einfügung von spitzen Klammern auswählen könnte, ohne gültige Alternativen zu beeinträchtigen. Als erledigt gilt die Aufgabe, wenn das Verhalten konfigurierbar und durch Tests abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript
- Bereich
- developer-experience, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100