Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Java coding style
-
I like the way java coding displays its code layout. I was wondering if there is a way to set up Qt Creator to display it's code in that style automatically.
Thanks in advance.
@
namespace ns{
class cn{
public:
int varOne(){
return var1;
};
void varOne(int v){
var1 = v;
};
private:
int var1;
};
}
@
-
Tools->Options->C++->Code style
-
Hi,
IIRC you can change that in the "{} C++" preference pane