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

Show error or warning message when compilation database could not found by clangd #252

Open
ghentschke opened this issue Feb 12, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ghentschke
Copy link
Contributor

As it is possible to open any file in the new LSP-based C/C++ editor, it is not guaranteed that the parent project contains a compilation database (e.g. compile_commands.json). Since much functionality of clangd relies on the availability of such a database, it could not work properly (e.g. used includes could not be found by clangd).

IMO it makes sense to inform the user that the parent project lacks of a compilation database.

@ghentschke ghentschke added this to the 2.0.0 milestone Mar 5, 2024
@ghentschke ghentschke added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant