10 results found
-
C/C++ for Visual Studio Code
Search for 'C++'. Select Install. Set up your C++ Environment C++ is a compiled language meaning your program's source code must be translated (compiled) before it can be run on your computer. The C/C++ extension doesn't include a C++ compiler or debugger, since VS Code as an editor relies on command-line tools for the development workflow.
-
Configure VS Code for Microsoft C++
Configure VS Code for Microsoft C++ In this tutorial, you configure Visual Studio Code to use the Microsoft Visual C++ compiler and debugger on Windows. After configuring VS Code, you will compile and debug a simple Hello World program in VS Code. This tutorial does not teach you details about the Microsoft C++ toolset or the C++ language. For those subjects, there are many good resources ...
-
Using GCC with MinGW - Visual Studio Code
Using GCC with MinGW In this tutorial, you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger from mingw-w64 to create programs that run on Windows. After configuring VS Code, you will compile, run, and debug a Hello World program. This tutorial does not teach you about GCC, GDB, minGW-w64, or the C++ language.
-
C++ extension settings reference - Visual Studio Code
C++ extension settings reference The C++ extension settings are highly configurable. This article explains the schema for the c_cpp_properties.json file. For general information about settings in VS Code, refer to Configure settings, as well as the Variables reference and Default VS Code Settings. Looking to get started with configuring your C++ project? Begin with configure Intellisense ...
-
Documentation for Visual Studio Code
Your home for multi-agent development. Explore AI agents, coding tools, extensions, and everything you need to build faster with Visual Studio Code.
-
Installing Visual Studio Code on Windows
Install Visual Studio Code on Windows, choose User or System setup, and configure Windows developer tools.
-
Configure C/C++ IntelliSense - Visual Studio Code
When will the C/C++ extension configure core IntelliSense features for me? A compiler is the only requirement to configure core IntelliSense functionality. To identify a compiler for IntelliSense, the C/C++ extension scans common paths on your machine for compilers such as Clang, GCC, MinGW, cygwin, cygwin64, and MSVC.
-
Frequently asked questions - Visual Studio Code
Enabling debug symbols is dependent on the type of compiler you are using. Below are some of the compilers and the compiler options necessary to enable debug symbols. When in doubt, please check your compiler's documentation for the options necessary to include debug symbols in the output. This may be some variant of -g or --debug. Clang (C++)
-
IntelliSense for cross-compiling - Visual Studio Code
IntelliSense for cross-compiling This article is about configuring the C/C++ extension to provide proper IntelliSense (e.g. code completions) in Visual Studio Code when you compile for a different architecture than your development host machine. For example, when your host machine is x64 but you are compiling for Arm.
-
Visual Studio Code - The open source AI code editor | Your home for ...
Visual Studio Code is a free, open source AI code editor. Build with AI agents that plan, code, and debug for you. Manage multi-agent workflows across environments on Linux, macOS, and Windows.