1 KiB
1 KiB
codingame-ide-sync
This repo contains 2 parts:
- A merger program: Provides an HTTP route that merge all your code and return the result.
- A firefox extension: Call the merger's HTTP route and directly update your codingame's IDE.
Because of the way it works (for now), it only works with C++ code, and only if you don't split implementation (.cpp) from definition (.h).
Basically you want to use one main.cpp
file that includes other something.hpp
files.
Build the Merger
Requires gcc
and make
cd merger
make
Load firefox extension
- Write
about:debugging
in your firefox url bar. - Go in the "This Firefox" tab on the left
- Click on "Load Temporary Add-On..." and select the
manifest.json
in theextension
directory.
Usage
- Run the merger with
./codingame-ide-sync ./path/to/main.cpp
. - Ensure the firefox extension is loaded.
You should see red borders on the page and an update status above the codingame's ide (you might need to reload the page).