Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] cmake support how to integrate the compile_commands.json parser into CDT

On Tue, 16 Jun 2020 at 14:18, Alexander Fedorov <alexander.fedorov@xxxxxxxxxx> wrote:
Yes, LSP people do need the access to "compilation database", either to a parser directly or better to a service that can query compile_command.json


Thanks Alexander. Can you expand on this please? When using LSP, what does the front-end need to read from compile_commands.json? AFAIU the language server needs to read the compile_commands.json file itself, so what additional stuff does the IDE need to read? Perhaps I am misunderstanding how this works?

Thanks
Jonah

 


Back to the top