When I set "clang.executable" to "wsl clang", it doesn't work. Finally, I found that's the result:
child_process.execFile(file[, args][, options][, callback])
All args should put in args, so I set "clang.executable" to "wsl", and add a line
args.push("clang");
between line 24 & 25 in configuration.js, and then all work well.
I think it's necessary to add support of wsl, as it's much easier to install and update clang on wsl rather than windows.
When I set "clang.executable" to "wsl clang", it doesn't work. Finally, I found that's the result:
child_process.execFile(file[, args][, options][, callback])
All args should put in args, so I set "clang.executable" to "wsl", and add a lineargs.push("clang");
between line 24 & 25 in configuration.js, and then all work well. I think it's necessary to add support of wsl, as it's much easier to install and update clang on wsl rather than windows.