Skip to content

Sublime Text

njlr edited this page Feb 26, 2019 · 1 revision

Buck (and therefore Buckaroo) can integrate with the EasyClangComplete plugin for Sublime Text.

Setup

Make sure you install the EasyClangComplete plugin first!

EasyClangComplete can work on a compile_commands.json file. Buck can generate this for you using the compilation-database flavor.

If you want code completion for a target called //:app, then do:

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

EasyClangComplete should then pick-up this file and enable code-completion.

Clone this wiki locally