

If you run into any issues, or have any suggestions, please report them in the Issues section of our GitHub repository. Ch eck out this overview of remote development in VS Code to learn more! What do you think?ĭownload the C++ extension for Visual Studio Code today, give it a try, and let us know what you think. If you’d like to build a C++ application remotely, VS Code provides a ton of options, including remote-SSH, containers, WSL, and Codespaces. Check out this H e llo World tutorial for building a CMake project with CMake Tools.

If you build your project with CMake, you should use the CMake Tools extension to seamlessly view, build, and debug CMake targets in VS Code. Watch this three-minute video tutorial t o learn how to create a C++ build task in VS Code ! This video s hows how to invoke Clang on macOS, and the Hello World document tutorials below call out the specifics for other platforms. If you aren’t using CMake, you can define VS Code build tasks in tasks.json, which invoke your compiler of choice. If you r project uses CMake, we recommend the CMake Tools extension for viewing, building, and debugging CMake targets. There are two recommended approaches for building a C++ application in VS Code: Did you know that you can build and debug C++ projects in Visual Studio Code with your compiler and debugger of choice? Although VS Code is a light-weight editor, you can set it up to resemble a full IDE, customizing IntelliSense, build, and debug configurations for your environment.
