Skip to content
worth noting Tools and apps

GitHub Copilot CLI has introduced whole codebase indexing for faster analysis of C++ projects

only one source so far

GitHub Copilot CLI has introduced whole codebase indexing for C++ projects – a persistent symbol index across the entire codebase that speeds up searches for definitions, references, and symbols. The feature is enabled by default; in large repositories, initial indexing requires more time and memory.

GitHub Copilot CLI now supports what is known as whole codebase indexing (WCI) for C++ projects. The feature creates a persistent symbol index across the entire C++ project, including files that are not currently open, so the tool does not have to look up project information again for every definition query, reference query, or symbol search. To identify types, symbols, include directives, and relationships between files, the feature uses Microsoft C++ Language Server and project compilation information.

According to GitHub, WCI is enabled by default because, the company says, the persistent index helps the language server understand relationships across the entire project more efficiently. The index is loaded when a C++ project is first opened, and indexing progress can be monitored with the /lsp logs command.

GitHub states that building the index for the first time may take additional time and temporarily increase memory requirements in large or complex repositories; once the initial index is complete, it is reused and continually updated. According to the source, the feature can be temporarily disabled by following the indexing documentation, and the Copilot session must be restarted after changing the settings.

What changed

Why it matters

For developers working with large C++ repositories in GitHub Copilot CLI, the feature speeds up common operations such as finding definitions, references, and symbols because project information does not have to be looked up repeatedly. Being enabled by default means the change takes effect automatically without requiring configuration, but according to GitHub, building the index for the first time in large or highly interconnected projects will temporarily require more memory and time, which is worth accounting for when planning a rollout across large codebases.

Two audiences, two different impacts

What this means

01

For individuals

Developers working with C++ code in GitHub Copilot CLI will gain faster searches for definitions, references, and symbols across the entire project thanks to the new feature, including files they do not have open.

What to do Initial indexing progress can be checked with the /lsp logs command; if the feature puts pressure on memory in a large project, it can be temporarily disabled according to the documentation, followed by a restart of the Copilot session.
More practical updates →
02

For a business

Teams developing large C++ projects with GitHub Copilot CLI can expect faster responses from code navigation features (finding definitions, references, and symbols), which may reduce the time developers spend finding their way around large codebases. The benefit primarily applies to companies with large or highly interconnected C++ repositories.

Productivity
What to decide Before a broad rollout across large C++ repositories, verify the impact of initial indexing on memory usage and time.
More business impacts →
C++ code intelligence GitHub Copilot CLI

Check the original

Event sources

only one source so far · 1 publisher, 0 independent. We count feeds from the same owner only once.

1
GitHub Copilot Changelog primary source · first detected Faster C++ code intelligence with whole codebase indexing