Hi Jan Erik,

Did you follow the instructions 
in https://www.barebones.com/support/bbedit/lsp-notes.html ?

They contain this recommendation:

However, at this writing we recommend that you not rely on the 
Xcode-bundled clangd, because it is out of date and has bugs that cause it 
to respond incorrectly to certain requests from BBEdit. Instead we 
recommend that you use "brew install llvm"" and then 
symlink /usr/local/opt/llvm/bin/clangd into BBEdit's "Language Servers" 
folder.

and in the Caveats 
<https://www.barebones.com/support/bbedit/lsp-notes.html#caveats> section a 
recipe on how to create the required "compile_commands.json" compilation 
database.

HTH

Jean Jourdain
On Monday, August 16, 2021 at 10:20:39 AM UTC+2 Jan Erik Moström wrote:

> I have the xcode command line tools installed (not the full Xcode 
> package) and apparently it includes a language server for the C language 
> family and Swift.
>
> So today when I had to write some example code in C (long time since 
> that happened the last time) I got all kind of goodies showing up when 
> writing the program. Unfortunately I also get the a warning that 
> "~/Desktop/fib.c:1: 'stdio.h' file not found" for the line
>
> # include <stdio.h>
>
> What I can't figure out is how to tell bbedit/language server where this 
> file can be found.
>
> How do I do this?
>
> = jem
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/0dbd6b70-a6a8-410b-9470-2b9bc8387254n%40googlegroups.com.

Reply via email to