-
Notifications
You must be signed in to change notification settings - Fork 31
CLion
Gaetano Checinski edited this page Feb 22, 2019
·
4 revisions
Buck (and therefore Buckaroo) can integrate with the C/C++ Extension for Visual Studio Code.
If you want code completion for an target called //:app
, then do:
buck build //:app#compilation-database --show-output
Buck probably put the file here (check the above command if your path differs):
cat buck-out/gen/__app#compilation-database/compile_commands.json
Then all you need to do is open the compile_commands.json
file in CLion and you should be good to go.
More information regarding CLions compile_commands.json
integration can be found here:
https://www.jetbrains.com/help/clion/compilation-database.html