[cfe-users] Visual Studio clang-format extension difficulties

Michael Price michael.b.price.dev at gmail.com
Sat Sep 7 17:06:40 PDT 2013

The guidance for how to use the "File" configuration for the options is not

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?

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

'{BasedOnStyle: "LLVM", IndentWidth:8}'

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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130907/fb6824a2/attachment.html>

More information about the cfe-users mailing list