Open jerryc05 opened 2 years ago
Another alternative for this specific repro is to use https://github.com/microsoft/vscode-cpptools/releases/tag/1.8.0-insiders2, since we ship clang 13.0 with that, and/or set your C_Cpp.clang_format_path to a 13.0 clang-format.
This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog.
This feature request has received enough votes to be added to our backlog.
Bug type: General
Describe the bug
v1.7.1
I added some
clang-format 13
specific formatting keys and then I gotunknown key ...
because the bundledclang-format
is onlyv12
My suggestion would be add a switch for this extension for ignoring unknown keys. To be specific, add an input field to pass custom args to
clang-format
or add a switch so that the extension automatically passes-Wno-error=unknown
toclang-format
if checked.Similar #7867