mitaki28 / vscode-clang

Completion and Diagnostic for C/C++/Objective-C using Clang
MIT License
128 stars 24 forks source link

Recursive include #49

Open csholmq opened 7 years ago

csholmq commented 7 years ago

Would it be possible to pass down a top directory as an -I flag and have clang look recursively?

E.g instead of

"clang.cflags": [
    "-I${workspaceRoot}/Sw/A_XMC/out/obj", 
],

having

"clang.cflags": [
    "-I${workspaceRoot}", 
],

or perhaps (global search pattern)

"clang.cflags": [
    "-I${workspaceRoot}/**/out/obj", 
],