megachangelog
Improvement

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.

copilotc++performancecode-intelligenceindexing

Source: original entry ↗

More from GitHub

Follow GitHub to get its new changes in your feed and email digest.

Improvement

Improved detection for withdrawn Dependabot alerts

Dependabot now provides improved detection for withdrawn alerts that are no longer valid due to advisory or vulnerability changes. This makes it easier to identify and manage alerts that have been removed.

dependabotsecurityalertsdetection
Feature

Search and filter for budgets now available

The Budgets and alerts page in GitHub billing settings now displays all budgets in a single searchable and filterable list, making it easier to manage multiple budgets.

billingbudgetssearchui
Feature

Code scanning AI Scan metrics in security overview

Organization and enterprise administrators can now view metrics showing AI Scan findings generated and resolved in the security overview dashboard, providing visibility into the impact of AI-powered code scanning on pull requests.

code-scanningaisecuritymetricsadmin
See all GitHub changes →