Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Clang vs. AStyle vs. Uncrustify
Forum Updated to NodeBB v4.3 + New Features

Clang vs. AStyle vs. Uncrustify

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 11.6k Views 1 Watching
  • 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 Offline
    C Offline
    ceora
    wrote on last edited by
    #1

    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
    0
    • A Offline
      A Offline
      andyh
      wrote on last edited by
      #2

      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
      0
      • C Offline
        C Offline
        ceora
        wrote on last edited by
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved