microsoft / microsoft/vscode-cpptools
C++ Autocomplete is slow on VSCode for mac development environment
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in a clean VS Code installation on macOS with the C/C++ extension, then compare automatic completion with the listed editor.wordBasedSuggestions and C_Cpp.autocomplete settings. Read the related issues 572 and 574 before investigating. Done means automatic C++ completion works without the workaround and retains color and type hints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100