clang-format for visual studio 2012

Hello cfe-dev,

I am trying clang-format visual studio plugin. Inside visual studio 2012, formatter works great with its default options (seems to be LLVM style). However, when changing the style to file _clang-format or .clang-format, it seems not using the supplied style. What might be wrong here? I tried to put this file in a few places but with no luck. Also within the command line, it also works as expected. Any suggestions?

Thanks!
-Q

Hello cfe-dev,

I am trying clang-format visual studio plugin. Inside visual studio 2012,
formatter works great with its default options (seems to be LLVM style).
However, when changing the style to file _clang-format or .clang-format, it
seems not using the supplied style. What might be wrong here? I tried
to put this file in a few places but with no luck. Also within the command
line, it also works as expected. Any suggestions?

I think Hans is using it with a special config, and has some tips...

(Sending from the correct email address this time..)

Recorded as bug 19265

http://llvm.org/bugs/show_bug.cgi?id=19265

Thanks,

  • Q