Dear Valloric,
I'd like to know how to use compile_commands.json.
Do I just replace it with .ycm_extra_config or any other way I have to do?
Please give me your guidelines.
Copy the .ycm_extra_conf.py from ycmd to your project and set the compilation_database_folder variable to the absolute path of your compile_commands.json. See the _C-family Semantic Completion Engine Usage_ section of the documentation for more informations.
Most helpful comment
Copy the
.ycm_extra_conf.pyfrom ycmd to your project and set thecompilation_database_foldervariable to the absolute path of yourcompile_commands.json. See the _C-family Semantic Completion Engine Usage_ section of the documentation for more informations.