Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
There are several issues with qmlformat that can prevent it from being used in projects, especially in large code bases:
- Lack of customizability thus making the tool useless if you require non default formatting
- No support for indents that aren't 4 spaces
- Placement of braces is not customizable
- All formatting options need to be specified on the command line instead of being able to just format a file based on a .clang-format like file
- The current way parts of the QML file are restructured require aggresive "attachment" of commands to nodes which often causes comments to be moved in unexpected ways
This task serves to track individual fixes to these issues.