microsoft / microsoft/vscode-cpptools

IntelliSense is slow with ranges in clang mode (and gcc mode is giving an error)

Open
#9,937 3 comments 0 reactions 0 assignees View on GitHub

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".

  1. 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
  2. In the GCC configuration now I am seeing this (I haven't noticed this error before):
    image

Originally posted by @Zingam in https://github.com/microsoft/vscode-cpptools/issues/9888#issuecomment-1262831775

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.