-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate "compile_commands.json" for LSP ready IDEs #3735
Comments
Duplicate of #364 |
@ivankravets Thanks. So it is a known issue. |
.ccls
is not updated in builds
I updated the title. It is a very good idea to generate |
@ivankravets But isn't this already implemented? https://docs.platformio.org/en/latest/integration/compile_commands.html |
Yes, it makes sense to generate |
From my experience, Any timeline for this change? |
You can temporarily fix it on your side https://docs.platformio.org/en/latest/integration/compile_commands.html |
See updated docs https://docs.platformio.org/en/latest/integration/compile_commands.html Key changes:
Please confirm that it works now upgrading to the latest development version of PIO Core using |
@ivankravets confirmed that |
Happy coding with PlatformIO! |
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
init
ing 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 text was updated successfully, but these errors were encountered: