C++ in Gitpod

Gitpod supports C++ right out of the box, but there are still ways to enhance your C++ experience within Gitpod.

Example Repositories

Here are a few C++ example projects that are already automated with Gitpod:

Repository Description Try it
Component Editor Component Editor Open in Gitpod
tinyraycaster old-school FPS in a weekend Open in Gitpod


C++ Tools

All Gitpod workspaces already come with clang (version 10.0.0 as of January 2020), gcc / g++ (8.3.0), cmake (3.15.5), gdb, and a few other useful C++ tools pre-installed by default.

However, if you’re missing some additional tools, you can simply run brew install <tool_name> to install it in the current workspace or write your own .gitpod.Dockerfile to install it across all workspaces for your repository.

VSCode Extensions

C/C++ Tools

C++ Tools Extension example The C/C++ VSCode extension gives enhanced intellisense support for C++! To install it to your repository add the following to your .gitpod.yml:

    - ms-vscode.cpptools@0.26.2:Pq/tmf2WN3SanVzB4xZc1g==