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

Add integration with cmake-tools extension #487

Closed
wants to merge 14 commits into from

Conversation

sr-tream
Copy link
Contributor

@sr-tream sr-tream commented May 26, 2023

This PR add integration with cmake-tools extension. It uses exported API instead of querying the extension instance directly, so this integration must work with any cmake-tools forks, that implement this API.

This PR is cannot use as a complete replacement for .clangd configure file - it not pass --query-driver to clangd because clangd doesn't support change this via LSP. So this PR just alternative to export compile commands (clangd in VSCode now may work with --compile_args_from=lsp flag).

Resolves #233, #498

@sr-tream
Copy link
Contributor Author

In force-push, added missed field in package-lock.json

@sr-tream
Copy link
Contributor Author

sr-tream commented Jul 5, 2024

Feature implemented in extension, with provided API (#575)

https://github.com/sr-tream/vscode-clangd-cmake

@sr-tream sr-tream closed this Jul 5, 2024
@sr-tream sr-tream deleted the cmake-tools-integration branch July 5, 2024 03:55
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.

How to find compile_commands.json for Debug/Release build matching cmake tools?
6 participants