Youcompleteme: how to use compile_commands.json instead of .ycm_extra_config

Created on 15 Feb 2016  路  1Comment  路  Source: ycm-core/YouCompleteMe

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.

Most helpful comment

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings