Skip to content

Sourcetrail

njlr edited this page Feb 26, 2019 · 1 revision

Sourcetrail is an interactive source explorer that simplifies navigation in existing source code. Sourcetrail's aim is to give answers to all your questions about your source code.

You can find their documentation here.

Buck (and therefore Buckaroo) can integrate with Sourcetrail via a compilation-database.

Setup

To generate the compile_commands.json file, use the compilation-database flavor:

buck build //:app#compilation-database --out compile_commands.json

(Replace //:app with the target you wish to inspect)

Next, follow the Sourcetrail documentation and choose the "Create a C/C++ Source Group from Compilation Database" flow.

Clone this wiki locally