Microsoft Dev Blogs

C++ in VS Code: Getting Started & Configuring IntelliSense

thumbnail
  • "Getting Started with C++" walkthrough: The C++ extension for VS Code provides a step-by-step guide to set up a C++ environment, create a file, run and debug your code, and use advanced debugging features.
  • Configure IntelliSense indicator: If IntelliSense is not configured for your workspace, a warning sign will appear in the status bar. Clicking on the "Configure IntelliSense" button will open the Configuration Quick Pick, where you can select a compiler or have the C++ extension install one for you.
  • Language Status Bar: The new language status bar shows whether IntelliSense is configured and ready to evaluate code. "IntelliSense: Ready" indicates that it is configured, while "IntelliSense: Not configured" means you need to configure IntelliSense in your workspace.
  • Having issues with configuring IntelliSense: Refer to the IntelliSense documentation for detailed instructions on configuring IntelliSense using a compiler, compile_commands.json file, or another VS Code extension like Makefile or CMake.