Skip to content
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

Build Script For Exporting Compile Commands #93

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

Bixkitts
Copy link
Contributor

I wanted to look at this in Neovim.
The clangd language server needs a compile_commands.json to function.
One can be created with pio run -t compiledb but it's incomplete
and doesn't include toolchain/std libraries properly without the
python script: https://docs.platformio.org/en/stable//integration/compile_commands.html

Figured it would be harmless to make a PR to help other LSP users
cloning this.

@xyzroe xyzroe merged commit 8e82b22 into xyzroe:main Jul 15, 2024
1 check failed
Copy link
Contributor

Thanks @Bixkitts 🏆

@xyzroe
Copy link
Owner

xyzroe commented Jul 15, 2024

Could you also update readme - add section how to build using Neovim ?

@Bixkitts
Copy link
Contributor Author

Sure I'll add a section about building from the CLI and getting a compilation DB for custom language server setup (neovim users, for example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants