Setup up VS Code for C/C++
Visual Studio Code is a lightweight, easy-to-use, source code editor with debugging support. It runs on macOS, Windows, and Linux (including CAEN Linux). Visual Studio Code is not the same program as Visual Studio.
Follow the VS Code on macOS tutorial. You’ll use some command line tools installed by Xcode, and some installed with Homebrew.
Follow the VS Code on Windows tutorial. You’ll use tools installed on the Windows Subsystem for Linux (WSL).
Install VS Code using the Microsoft documentation.
Install CLI tools using the
apt command from the WSL tutorial. The
apt command works on Ubuntu and other Debian-based systems.
Continue with the VS Code on Windows instructions, beginning with the Extensions section.