Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.8.0, Qt Creator 4.9.0-rc1, Qt Creator 4.10.0-beta1
-
None
Description
The QML auto format function adds additional line breaks before comments.
/** * Copyright (C) test header */ import QtQuick 2.4 Rectangle { id: testRect /** * Test function */ function testFunction() { return 123 } }
after QML auto format (see header and function)
/** * Copyright (C) test header */ import QtQuick 2.4 Rectangle { id: testRect /** * Test function */ function testFunction() { return 123 } }
Qt Creator version 4.7.0 formats this code correctly.