Closed panda-z closed 6 months ago
import { LineEdit } from "std-widgets.slint"; export component AppWindow inherits Window { in-out property <string> data; LineEdit { text <=> root.data; } }
The above code snippets will be formated as
If there are other lines after the two way binding, the formatter will work correctly. E.g.:
import { LineEdit } from "std-widgets.slint"; export component AppWindow inherits Window { in-out property <string> data; LineEdit { text <=> root.data; width: 100%; } }
Reproduced in vscode with the Slint (nightly) extension v2024.3.719.
Slint (nightly)
Thanks for the bug report! Fixing in https://github.com/slint-ui/slint/pull/4804
The above code snippets will be formated as
If there are other lines after the two way binding, the formatter will work correctly. E.g.:
Reproduced in vscode with the
Slint (nightly)
extension v2024.3.719.