microsoft / microsoft/vscode-cpptools
IntelliSense is slow with ranges in clang mode (and gcc mode is giving an error)
Open
Nobody has claimed this yet.
Feature: Configuration
investigate: repro
Language Service
performance
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
I switched to 1.13.1. I can confirm that the reported issue is fix.
Now I'm experiencing two more issues with the same "test".
- Performance when CTRL+Click on std::view is very poor on my machine. It takes very long to load the IntelliSense data, and then the line that should appears under std::range::view feels to no appear: appears disappears. This feature behaves erratically. This sluggish behavior is present in the Clang configuration. In the GCC configuration the performance is much smoother. IMO
- In the GCC configuration now I am seeing this (I haven't noticed this error before):

Originally posted by @Zingam in https://github.com/microsoft/vscode-cpptools/issues/9888#issuecomment-1262831775
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 CTRL+Click behavior on std::view in the Clang configuration and the reported error in the GCC configuration, using the test described in the issue. Compare IntelliSense loading and underlining in both configurations; done means the Clang interaction is responsive and stable and the GCC error is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100