News

Visual Studio Code Adds C/C++ Functionality, Focusing on IntelliSense

The Visual Studio Code team improved its C/C++ extension, still in preview, with a March update that focuses on improved IntelliSense.

Specifically, the update for the C/C++ extension available in the Visual Studio Code Marketplace features:

  • Improved auto-complete for local and global scopes: This existing feature allows for a semantic-aware list of auto-complete suggestions when developers type in local and global variables and functions. "Compared with the previous approach, the new auto-complete experience gives you a shorter and more relevant list of suggestions, making it easier to write C/C++ code," Microsoft said .
  • A simplified configuration process for system includes and defines: Instead of manual configuration of includePath and defines settings, IntelliSense gets include and defines from GCC/Clang-based compilers on its own.
  • Ability to force IntelliSense processing of arbitrary headers: A new “forcedInclude” setting specifies what headers should be processed, even if they aren't listed in #include statements.

Though still in preview, the C/C++ extension -- providing debugging support in addition to IntelliSense and other language services -- is one of the more popular offerings in the Marketplace, having been installed more than 6.9 million times and garnering a 3.8 rating (scale to 5) from 187 reviewers.

The new update reflects the continuing work the VS Code team has been doing to improve Microsoft's lightweight, open source, cross-platform code editor, which includes a recent update to the most popular extension, for Python development.

Issues and suggestions for the VS Code C/C++ extension can be filed on its GitHub site.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube