EECS 280 Tutorials
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.
macOS
Follow the VS Code on macOS tutorial. You’ll use some command line tools installed by Xcode, and some installed with Homebrew.
Windows
Follow the VS Code on Windows tutorial. You’ll use tools installed on the Windows Subsystem for Linux (WSL).
Linux
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.
CAEN Linux
VS Code is already installed on the CAEN Linux desktop environment. Follow the VS Code on Windows tutorial, just skip the Install subsection. You will need to install VS Code extensions.