-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the gccIDE wiki
The difficult part of C/C++ language server is the compilation database, which records the project source code compile parameters. Different language server uses different project setup method (including compilation database). Different environment uses different project setup. Lucky, ccls and clangd share the concept of Compilation database in common. Also see JSON Compilation Database Format Specification.
In nature, it's not a flaw of C/C++ language server, The root cause is "include hell"
or "header hell"
, which is inherited by C/C++ language design. Golang and Java avoid this problem.
- ccls project C++ project
- ldd3 project C project
For some cases, Compilation Database can't solve your problem. Then you need to refer to the following guideline:
- For ccls, please refer to Project Setup.
- For clangd, please refer to Configuration.
I am still working on the following project setup. Any update will be post here.
- grpc/grpc c/c++ project.