-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language Servicebuginvestigate: reproThis issue's repro steps needs to be investigated/confirmedThis issue's repro steps needs to be investigated/confirmedmore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current statenot reproingWe're not able to reproduce the issue (it's unlikely to get fixed until we find one).We're not able to reproduce the issue (it's unlikely to get fixed until we find one).
Milestone
Description
After I correctly set C_Cpp.clang_format_path and format a cpp document, the file doesn't get formatted, and there is no error output. I have verified that error gets printed to output correctly by setting C_Cpp.clang_format_path to some non-existent path. e.g.
/not/a/real/path -style={ BasedOnStyle: LLVM } -fallback-style=LLVM -sort-includes=0 -assume-filename=<some cpp file>
Can't find or run process_name
If I run the command clang-format -style={ BasedOnStyle: LLVM } -fallback-style=LLVM -sort-includes=0 -assume-filename=<some cpp file> on the command line, clang-format errors out because -style={ BasedOnStyle: LLVM } should be -style='{ BasedOnStyle: LLVM }'. I suspect this is the reason for the file to not get formatted.
On Linux btw.
Metadata
Metadata
Assignees
Labels
Language Servicebuginvestigate: reproThis issue's repro steps needs to be investigated/confirmedThis issue's repro steps needs to be investigated/confirmedmore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current statenot reproingWe're not able to reproduce the issue (it's unlikely to get fixed until we find one).We're not able to reproduce the issue (it's unlikely to get fixed until we find one).