FWIW, when I run clang-format directly when in the directory with the
source code, I get this message at the top of the output:

Can't find usable .clang-format, using LLVM style


On Sat, Sep 7, 2013 at 7:06 PM, Michael Price <[email protected]
> wrote:

> The guidance for how to use the "File" configuration for the options is
> not clear.
>
> 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).
>
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to