Closed kaarelen closed 7 months ago
I can not spot window.slint anywhere in the file you copied. Is that maybe the file name?
I wonder where the quotes come from though... I'll take a look.
I wonder where the quotes come from though... I'll take a look.
The quotes comes from the {:?}
(the debug trait adds quotes)
This is the same panic as https://github.com/slint-ui/slint/issues/4338 which was reported fixed with the nightly extension already.
Perhaps you can try the nightly extension?
@hunger Exactly, "window.slint" is the name of this file, where this error occured. File does not have any quotes in name.
@ogoffart works as charm, thanks!
Sorry for bothering you all with already known issue ~
OS: rolling, arch lang: rust 1.77.0-nightly
I've just started typing in line 17 after not touching .slint files for a while(prob time is not related, not sure). After this error, extension hasn't recovered.
PS: this bug happens a lot & forces to full reload VScode. PPSS: I really like this project, hope you have bright future. Thanks.
Click me
``` import { Button , ListView, Switch} from "std-widgets.slint"; // component Screenshot inherits Rectangle { // width: 64px; // height: 64px; // // background: #edba3a; // background: orange; // Image { // source: @image-url("test.png"); // width: parent.width; // height: parent.height; // } // } export component MainWindow inherits Window{ property