microsoft / microsoft/vscode-cpptools

Lazy loading for the intellisense? [Feature request]

Open
#6,893 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement Language Service performance
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Alternatively if you could add an option to limit how many suggestions can be loaded at most (if this doesnt exist already, if so please enlighten me).The purpose of course being making the intellisense just slightly snappier :)

LLVM's clangd extension limits to about a 100 entries (or so), when comparing the 2 extensions with quickSuggestionsDelay set to 0, the amount of time it takes for clangd to load the entries is quite a noticeably lot faster (and I believe it might just be because it doesnt load houndreds of entries, hehe) and at the end of the day theres really no point loading that many suggestions anyway.

Thanks for reading <3

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 comparing the C/C++ extension's IntelliSense behavior with the LLVM clangd extension, using quickSuggestionsDelay set to 0 as the reported comparison. Determine whether the work should add lazy loading, a maximum suggestion count, or both; done means suggestions load faster while remaining useful.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.