cd /news/developer-tools/faster-c-code-intelligence-with-whol… · home topics developer-tools article
[ARTICLE · art-137669] src=github.blog ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Faster C++ code intelligence with whole codebase indexing

GitHub Copilot CLI now supports whole codebase indexing (WCI) for C++ code intelligence, using the Microsoft C++ Language Server to build a persistent symbol index across an entire project, including files that aren't currently open. WCI is enabled by default, loads when a C++ project is first opened, and can be monitored with the `/lsp logs` command; Microsoft notes the initial index build can take extra time and temporarily increase memory usage, particularly for large or complex repositories, before being reused and dynamically updated. Users can temporarily disable WCI via the indexing documentation and must restart their Copilot session after changing the setting.

by read1 min views1 publishedSep 22, 2026
Faster C++ code intelligence with whole codebase indexing
Image: GitHub Changelog

C++ code intelligence in GitHub Copilot CLI is now faster with support for whole codebase indexing.

C++ repositories can contain millions of lines of code across deeply connected source files and headers. Without a reusable index, code-intelligence requests may need to rediscover project information as you navigate, making it slower to find a definition, locate references, or understand unfamiliar code.

Whole codebase indexing (WCI) creates a persistent index of symbols across your C++ project, including files that aren’t currently open. The Microsoft C++ Language Server uses your project’s compilation information to resolve types, symbols, includes, and relationships between files. WCI makes that symbol information available for reuse instead of rediscovering it for each request.

You spend less time waiting for definitions, references, implementations, and symbol search results, and more time reviewing, understanding, and changing code.

Configure indexing #

Whole codebase indexing is enabled by default because its persistent symbol index helps the Microsoft C++ Language Server efficiently understand relationships across your entire project. The language server loads the index when you first open a C++ project. You can check indexing progress at any time with /lsp logs.

Building the index for the first time can take additional time and temporarily increase memory usage, particularly for large or complex repositories. After the initial index is complete, it is reused and dynamically updated, so this overhead is primarily associated with initial setup.

To disable whole codebase indexing, you can temporarily disable WCI using the indexing documentation.

Restart your Copilot session after changing the setting.

Feedback #

Help us improve the Microsoft C++ language server for Copilot CLI by filling out our short survey. To report a problem or suggest an improvement, open an issue in the GitHub repository.

── more in #developer-tools 4 stories · sorted by recency
── more on @github copilot cli 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/faster-c-code-intell…] indexed:0 read:1min 2026-09-22 ·