Docs

C++ in Gitpod

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

Example Projects

Here are some examples of already-gitpodified C++ projects running in Gitpod:


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

Environment

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:

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