lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

lsp-ui-peek details in a child frame?

Open kvaneesh opened this issue 5 years ago • 4 comments

Right now I can't scroll in the peek overlay part. Also, the code formatting is not correct as per the major mode of the buffer displayed in the peek area. Is it possible to do something like https://tuhdo.github.io/emacs-frame-peek.html ?

kvaneesh avatar Jan 29 '19 15:01 kvaneesh

Might be worth looking at https://github.com/tumashu/posframe, as described in https://github.com/emacs-lsp/lsp-ui/issues/331.

jhacksworth avatar Dec 06 '19 03:12 jhacksworth

Still relevant.

@kvaneesh were you ever able to solve this?

bobbbay avatar Jun 20 '21 19:06 bobbbay

@akermu in #441 has some function advice to make peek work with posframe.

The only benefit seems to be that the frame can span multiple windows. It doesn't appear to enable scrolling. But even that is an improvement.

jhacksworth avatar Jun 21 '21 14:06 jhacksworth

Thank you! Although it doesn't seem to be working for me (there is no change), I'll bug the people on the issue there. 🍻

bobbbay avatar Jun 21 '21 15:06 bobbbay