I'm using the clangd extension to analysis c/c++ base project in VS code , and this project use many open source projects ,and use the Atom.mk to determine how to build the project. here come the problems: cause the clangd only parse 3 paths relative to the opened cpp file , so some symbols can't be found while I use the "Goto definition" function. cause this definition is completed by other source code . how can I setup the clangd ,make it parse the whole files in directory like C++ intellisense ?
PS: the c++ intellisense is slow in my linux environment, so I discard it. And I google the results ,just told me to use the compile_command.json tell the clang how to build the projects, how is that possible to generate all compile_command.json in all sub_directorys ?