slint icon indicating copy to clipboard operation
slint copied to clipboard

[slint-lsp] add an action to open the documentation of the "selected" token

Open abique opened this issue 2 years ago • 4 comments

Hi,

I'd love to be able to read the documentation of a Slint element, type, ... by using a VSCode / RustRover action.

Cheers, Alex

abique avatar Jan 04 '24 08:01 abique

Thanks for filling the issue.

This kind of related to https://github.com/slint-ui/slint/issues/104

We should put the documentation in the .slint files so then the LSP could know the documentation. (For our builtin widget it's extra tricky because they are duplicated for each style. But we could just decide to document the fluent style and use that. Or use interface https://github.com/slint-ui/slint/issues/1870 )

ogoffart avatar Jan 04 '24 09:01 ogoffart

Opening the webpage would be enough for now.

abique avatar Jan 04 '24 09:01 abique

Sorry for #5083 I forgot about this issue!

abique avatar Apr 16 '24 21:04 abique