Description
I'm not sure it could be covered by the tool.
I wanted to beautify qml files. Everything looks good except about var propeties
Input
The code looked like this before beautification:
TextField {
id: control
property var relativeX
property real relativeY
property int relativeY
}
Expected Output
The code should have looked like this after beautification:
TextField {
id: control
property var relativeX
property real relativeY
property int relativeY
}
Actual Output
The code actually looked like this after beautification:
TextField {
id: control
property
var relativeX
property real relativeY
property int relativeY
}
It seems that only var property type is changed. I'm not sure it's a bug with javascript but it's one with qml files.
Environment
OS:
Settings
{
"indent_size": "2",
"indent_char": " ",
"max_preserve_newlines": "2",
"preserve_newlines": true,
"keep_array_indentation": true,
"break_chained_methods": false,
"indent_scripts": "normal",
"brace_style": "collapse",
"space_before_conditional": true,
"unescape_strings": false,
"jslint_happy": false,
"end_with_newline": false,
"wrap_line_length": "80",
"indent_inner_html": false,
"comma_first": false,
"e4x": false,
"indent_empty_lines": false
}
Description
I'm not sure it could be covered by the tool.
I wanted to beautify qml files. Everything looks good except about var propeties
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
It seems that only var property type is changed. I'm not sure it's a bug with javascript but it's one with qml files.
Environment
OS:
Settings
{ "indent_size": "2", "indent_char": " ", "max_preserve_newlines": "2", "preserve_newlines": true, "keep_array_indentation": true, "break_chained_methods": false, "indent_scripts": "normal", "brace_style": "collapse", "space_before_conditional": true, "unescape_strings": false, "jslint_happy": false, "end_with_newline": false, "wrap_line_length": "80", "indent_inner_html": false, "comma_first": false, "e4x": false, "indent_empty_lines": false }