<div dir="ltr">The guidance for how to use the "File" configuration for the options is not clear.<div><br></div><div>I've put a .clang-format file in the same directory as the source code, but it doesn't seem to be picking up those settings. Does anyone have an example of how this is supposed to work?</div>
<div><br></div><div>They guidance provided by the plugin (in the Visual Studio options dialog for the extension) gives an example for the content of the YAML file along the lines of</div><div><br></div><div>'{BasedOnStyle: "LLVM", IndentWidth:8}'</div>
<div><br></div><div>But this exact string doesn't seem to work, neither does removing the outer quotes, nor the curly braces, nor the commas (which is the format that clang-format -dump-config prints out).</div></div>