mitaki28 / vscode-clang

Completion and Diagnostic for C/C++/Objective-C using Clang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recursive include

csholmq opened this issue · comments

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", 
],