[cfe-dev] [clang-format] Aligned Formatting of Chained Methods.

Redoubts redoubts at gmail.com
Wed Aug 21 14:36:29 PDT 2013


All,

I'm giving clang-format-3.4 a try, and I'm running into a problem similar
to this eclipse bug report - but for C++ of course.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=152444

By default, the formatter turns lines like
cgicc:form().set(stuff)
            .set(more_stuff)
            .set(a_few_stuffs_more);
into
cgicc:form().set(stuff).set(more_stuff).set(a_few_stuffs_more);

is there a way to make the formatter not do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130821/92e5bc21/attachment.html>


More information about the cfe-dev mailing list