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 the clangd cache to the gitignore #381

Merged

Conversation

madd-games
Copy link
Contributor

@madd-games madd-games commented Jul 20, 2024

clangd reads the /compile_commands.json file and provides IDEs such as VSCode with features like "go to definition", "find all references", hints, etc. It creates a directory called .cache in the package root, and unfortuantely that's picked up by git, which means that when I try to work on the project in VSCode, it asks me to commit all of these cache files. clangd can be (and is) used by other IDEs as well, so it will help with those too; though I do not have experience with others.

@madd-games
Copy link
Contributor Author

Please note that the Linux build in CI/CD is failing because it 404s on the GTK debian package at the moment, for some reason that's irrelevant to this PR.

@guillaumechereau guillaumechereau merged commit 3fbb82e into guillaumechereau:master Jul 20, 2024
3 of 4 checks passed
@guillaumechereau
Copy link
Owner

Thanks!

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