From 67e54b168496249c8f23906602eb68b486ad5c0b Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 7 Jun 2023 15:21:59 +0100 Subject: [PATCH] Add clangd compilation databases to gitignore The clangd language server uses a file called compile_commands.json to interpret the source tree. This is generated by CMake and must be present in the source tree in order to use clangd properly. Add this to the gitignore to improve the developer experience for users of clangd. Signed-off-by: David Horstmann --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index af52c6488..f2c4a3bc0 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,6 @@ massif-* /TAGS /cscope*.out /tags + +# Clangd compilation database +compile_commands.json