emacs-lsp / lsp-ui

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

[question/discussion] An option to display ui-sideline as a child-frame #526

Open rafauke opened 3 years ago

rafauke commented 3 years ago

Hello :wave:

Is there any chance to support displaying sideline info in a child-frame? Sideline has a lot of useful info but it breaks the layout on longer lines :) I was thinking of something similar to ls-ui-doc's at-point frame, maybe with a smaller font size. What do you think?

ericdallo commented 3 years ago

Looks a good idea indeed

antifuchs commented 3 years ago

I would love this - the information in the sideline can run long sometimes, and looks very chaotic if there's a lot of information to display. Having a single place to look (with, ideally, a reasonable ordering) to find the information lsp-ui-sideline gives right now would be amazing.

ericdallo commented 3 years ago

@yyoncho do you think posframe would fit here?

yyoncho commented 3 years ago

I am not sure what is the desired result. What the placement should be and so on. Can someone describe in more detail how they think that it should like, regarding placement and content of that post frame, how it relates to the doc buffer.

ericdallo commented 3 years ago

I'm not sure too about the final result, but I see something like Instead of showing a diagnostic on the sideline, we show in a window (using posframe?) to avoid breaking the sideline line where in smaller buffers could result in a weird UI.