Closed meclondrej closed 3 months ago
Failed to find compilation database for /home/ondre/avr/avr-syncdata/include/syncdata.h
You need to setup compile_commands.json
for your project, to make clangd can understand your code. https://clangd.llvm.org/installation#project-setup
I installed coc-clangd with
:CocInstall coc-clangd
. I set my include path intoC_INCLUDE_PATH
, colon separated. When i open a .c file, i can see my includes in the autocomplete, causing no issues, however when i open a .h file, the default include path is used, with no paths fromC_INCLUDE_PATH
available.Logs
System information Clangd version (from the log, or
clangd --version
): 18.1.3 clangd extension version (from:CocInfo
): output does not show clangd extension version Operating system: Arch Linux