Faster C++ code intelligence with whole codebase indexing
GitHub Copilot CLI now supports whole codebase indexing for C++, enabling faster code intelligence analysis across large repositories with millions of lines of code and deeply connected source files.
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.
The post Faster C++ code intelligence with whole codebase indexing appeared first on The GitHub Blog.
Source: original entry ↗
More from GitHub
Follow GitHub to get its new changes in your feed and email digest.
Copilot model policy API for enterprise, orgs, and teams
REST API endpoints now available to retrieve and update Copilot model policies for enterprises, teams, apps, and organizations, enabling centralized policy management at scale.
GitHub Copilot models deprecated
GitHub has deprecated certain models across GitHub Copilot experiences including Chat, inline edits, and code completions, effective October 19, 2026. Users may need to migrate to supported models.
Some Git over HTTPS may temporarily require authentication
GitHub may temporarily require authentication for clones and fetches of public repositories over HTTPS during periods of unusual traffic to protect service availability.