Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QML formatting



  • After messing around a bit with formatting I noticed the while C++ has a section for brackets QML does not. Is there any way I can alter how QML handles brackets or are my options really only spaces and tabs?



  • @Circuits
    Do you mean in writing the source code for QML versus C++? Each language has its own syntax, you cannot alter that.....



  • @JonB No I mean formatting for QML vs C++ so in Qt creator if you selection Tools:Options:Qt Quick and or C++ there are some formatting options, you will note that C++ has many more options than QML.


Log in to reply