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

Format code in Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
format
2 Posts 2 Posters 3.4k Views
  • 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 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
    0
    • K khanhmg

      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 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

      • Login

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