Document build options for Clangd configuration#1286
Document build options for Clangd configuration#1286antonysouthworth-halter wants to merge 1 commit intoredhat-developer:mainfrom
Conversation
|
I need to improve doc but this doc is about using clangd language server to provide support with completion validation etc in editors for c, h, files not for building application. Building application can be interesting with codelldb to debug c application by using the dap server from LSP4IJ and codelldb template |
|
Yes I know it's not about building the application. My question is "how do I tell Maybe it's more clear with an example: Let's say I have some dependency vendored into my project at |
|
@antonysouthworth-halter please share a simple project and tell me what you want to have. Thanks. |
|
@antonysouthworth-halter could you try something: Go the the Installer tab and click on Run Installation:
If the installation can be done, it should work. For instance given this hello.ccp file: #include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
return 0;
}
If you open completion you should see
|


When using
clangdit's not clear to me how you are supposed to tell it about-Iand related flags.I think we should add some basic pointers to the documentation for it.
Unfortunately, I don't actually know how to do this, would love to get some help with that!