The following command generates the requires files for LSP for plugins like coc-nvim:
pio project init --board my_board --ide vim --project-option "framework=arduino"
Problem is, after mutating the platformio.ini and adding libraries, the .ccls file is not kept updated.
How to make it so that all these auxiliary helper files get updated when project dependencies change? I was able to do it with
initing again.
Aside from that, I don't think the .ccls file should be dependent on project libs alone. Maybe the source does not use a library, so its deps should not be handled by ccls.
The following command generates the requires files for LSP for plugins like coc-nvim:
pio project init --board my_board --ide vim --project-option "framework=arduino"Problem is, after mutating the
platformio.iniand adding libraries, the.cclsfile is not kept updated.How to make it so that all these auxiliary helper files get updated when project dependencies change? I was able to do it with
initing again.Aside from that, I don't think the
.cclsfile should be dependent on project libs alone. Maybe the source does not use a library, so its deps should not be handled by ccls.