slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
16.93k stars 566 forks source link

[ Slint vscode extension] Preview not updated #2616

Closed aka-deVOID closed 1 year ago

aka-deVOID commented 1 year ago

Slint LSP extension properties it's working but I can't see the live preview image

aka-deVOID commented 1 year ago

if you have this problem you can ctrl+shift+p. after that type slint and restart the server

ogoffart commented 1 year ago

This usually mean there are error in the slint files. These error should be in the "problems" tabs.

aka-deVOID commented 1 year ago

no doesn't show anything, when I restart the server everything is fixed but when I open the file after closing vscode indicate this error again

rainbyte commented 1 year ago

I also have that error with Slint extension, but I noticed it is not happening on Slint (nightly)

aka-deVOID commented 1 year ago

I also have that error with Slint extension, but I noticed it is not happening on Slint (nightly)

thanks i will try it.

ogoffart commented 1 year ago

Might be related to #2632

Is there something in the "Slint LSP" Output tab?

image

(If there is no "Slint LSP" entry there it means that it is empty.

hunger commented 1 year ago

I think it is unlikely that this is related to #2632: That one was deep in Slintpad code.

ogoffart commented 1 year ago

Sorry, i meant https://github.com/slint-ui/slint/issues/2609

ogoffart commented 1 year ago

Closing as duplicated of https://github.com/slint-ui/slint/issues/2609