xavierd / clang_complete

Vim plugin that use clang for completing C/C++ code.
http://www.vim.org/scripts/script.php?script_id=3302
1.96k stars 308 forks source link

Reading compile arguments from compiler_commands.json #545

Open sassanh opened 7 years ago

sassanh commented 7 years ago

What do you think about reading compile arguments from compiler_commands.json file?

sassanh commented 7 years ago

compile_commands.json is the name of file (compiler -> compile)

barreyra commented 6 years ago

+1 on this one.

xaizek commented 6 years ago

I think it's implemented, see the docs:

- compile_commands.json - get the compilation arguments for the sources from a
  compilation database.