Open cinderblock opened 2 years ago
I'm using a custom script to always add some -I built flags when I run clang-tidy.
-I
clang-tidy
Unfortunately, I can't use "clang-tidy.executable" setting to use my binary (I'm using node to run a script) because it itself needs some arguments.
"clang-tidy.executable"
node
Looking into the source code here, I see that the executable setting ultimately gets consumed by child_process.execFile() as the first argument. So I can't use that setting to pass extra args.
executable
child_process.execFile()
Would you consider adding an extra optional setting that are arguments prepended to this list?
I'm using a custom script to always add some
-I
built flags when I runclang-tidy
.Unfortunately, I can't use
"clang-tidy.executable"
setting to use my binary (I'm usingnode
to run a script) because it itself needs some arguments.Looking into the source code here, I see that the
executable
setting ultimately gets consumed bychild_process.execFile()
as the first argument. So I can't use that setting to pass extra args.Would you consider adding an extra optional setting that are arguments prepended to this list?