microsoft / microsoft/vscode-cpptools
C++ Autocomplete is slow on VSCode for mac development environment
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
Auto complete is not automatically turned on for C++ on VSCode. I have a clean VSCode and this extension installed. I can force auto complete to happen by typing Ctrl+space.
My setting contains this:
"editor.quickSuggestions": true.
I googled it. It turns out that we had several related issues:
https://github.com/microsoft/vscode-cpptools/issues/572
https://github.com/microsoft/vscode-cpptools/issues/574
I followed their way, and it turns out that this solves the problem:
"editor.wordBasedSuggestions": true,
"[c]": {
"editor.wordBasedSuggestions": true
},
"[cpp]": {
"editor.wordBasedSuggestions": true
},
"C_Cpp.autocomplete": "Disabled"
Now auto-complete is on, however, there is no color and type hint on the auto-complete, it is just plain English.
Those two previous issues linked here are from years ago. Is there a plan to solve the problem? Want to open this bug to track this.
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 damit, das Problem in einer sauberen VS-Code-Installation unter macOS mit der C/C++-Erweiterung zu reproduzieren, und vergleiche anschließend die automatische Vervollständigung mit den aufgeführten Einstellungen editor.wordBasedSuggestions und C_Cpp.autocomplete. Lies vor der Untersuchung die zugehörigen Issues 572 und 574. Als abgeschlossen gilt die Aufgabe, wenn die automatische C++-Vervollständigung ohne den Workaround funktioniert und Farb- sowie Typhinweise beibehält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, macos, vscode
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100