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. Format code in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Format code in Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
format
2 Posts 2 Posters 3.4k 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.
  • K Offline
    K Offline
    khanhmg
    wrote on 29 Aug 2015, 12:24 last edited by
    #1

    Is there any way to format the code in Qt Creator? I mean, for example, in Visual Studio, when I write something like this:
    cout<<"Hello";
    It will be automatically changed to:
    cout << "Hello";

    T 1 Reply Last reply 29 Aug 2015, 12:41
    0
    • K khanhmg
      29 Aug 2015, 12:24

      Is there any way to format the code in Qt Creator? I mean, for example, in Visual Studio, when I write something like this:
      cout<<"Hello";
      It will be automatically changed to:
      cout << "Hello";

      T Offline
      T Offline
      t3685
      wrote on 29 Aug 2015, 12:41 last edited by
      #2

      @khanhmg

      Qt Creator has support for code formatting:

      http://doc.qt.io/qtcreator/creator-beautifier.html

      You need to install the beautifiers yourself though.

      1 Reply Last reply
      1

      2/2

      29 Aug 2015, 12:41

      • Login

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