From feb1757ead05c614378739399089f301e3250f68 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 288c71b13..e483bc7bb 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,6 @@ massif-* /TAGS /cscope*.out /tags + +# Clangd compilation database +compile_commands.json