Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 10.0.0
-
None
-
-
ffcbbecf2 (12.0)
-
QDS Berlin - 2023 Week 23/24
Description
Type annotations are deleted when QML files are reformatted using Tools menu → QML/JS → Reformat file.
Steps for reproduction:
To any QML file, add an arbitrary function whose arguments have type annotations.
For example:
function foo(i: int)
{
console.log( i )
}
Reformat the file using the above command.
: int will be deleted from the function.
The same issue occurs in Qt Design Studio 4.
Attachments
Issue Links
- is required for
-
QDS-9733 Reformatting QML files deletes type annotations
- Closed