Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Clang vs. AStyle vs. Uncrustify

    Tools
    2
    3
    10322
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ceora last edited by

      Hi all,

      I've downloaded the beta of Qt Creator 3.1, and i would like to test the new beautifier plugin, but i don't know which of those code formatter is the best, so before download one of them i would like to hear from someone who already tried it, which is better for c++.

      Thanks

      1 Reply Last reply Reply Quote 0
      • A
        andyh last edited by

        I prefer uncrustify over astyle due to the large set of options and how well it inserts missing block braces. I haven't used clang-format although I expect good things from it.

        1 Reply Last reply Reply Quote 0
        • C
          ceora last edited by

          Since I' haven't received reply for a while, i've decided to try clang. I don't see much difference from the internal code formatter and clang, for the moment.
          I have also enabled the clang code model plugin, and again i don't see much difference.. However thanks for the reply! I'll try to look at uncrustify, it seems also to support more languages

          1 Reply Last reply Reply Quote 0
          • First post
            Last post