emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

lsp-ui-sideline: Open a link to documentation #693

Open evmmc opened 2 years ago

evmmc commented 2 years ago

This is more of a support question than an issue.

I like sideline, it surfaces a lot of information about a context of a particular symbol. When I'm working on Go files, it will show the names of package of origin for symbols on a given line of code and even what seems like a clickable link to [godoc.org](). I am attaching a screenshot as an example:

image

The parser on godoc.org bit on line 4 is what I mean. When I mouseover over any of it, the overlay background face changes color, which makes me think those symbols might be clickable as that seems to be a fairly common UI paradigm.

However, clicking on them doesn't seem to do anything.

Is this supposed to work? If not, it would be a really nice feature to have.

(lsp-ui-doc already does something similar, and in their case the overlay does indeed have a clickable link that works. However, the lsp-ui-doc overlay only shows info about one symbol at a time. What I like about sideline is that it will show info about multiple symbols within the context of a unit of code.)