Format code in Qt Creator
-
wrote on 29 Aug 2015, 12:24 last edited by
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"; -
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";wrote on 29 Aug 2015, 12:41 last edited byQt Creator has support for code formatting:
http://doc.qt.io/qtcreator/creator-beautifier.html
You need to install the beautifiers yourself though.
1/2