emacs-lsp / lsp-ui

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

Delay for Lsp ui doc popup, Scrolling, separate buffer #155

Open erikbye opened 6 years ago

erikbye commented 6 years ago

It would be nice that have a variable for a timer/delay before the popup shows up.

Is it possible to scroll the doc popup? Now there are times when text is clipped, even after adjusting height/width.

Would it also be possible to have the option to open up the help doc in a buffer?

zhuzhongshu commented 6 years ago

+1

blasut commented 5 years ago

I would also really like to be able to set a timeout, I might have time to look into adding it this week if it's interesting?

edit: there is already a PR open for adding this https://github.com/emacs-lsp/lsp-ui/pull/128

yyoncho commented 5 years ago

I believe that you you may delay lsp-ui-doc popup using eldoc-idle-delay but someone has to verify that.

@blasut we are encouraging contributions, so if you want to work on that I can assign the issue to you.

blasut commented 5 years ago

@yyoncho I've tried messing around with eldoc-idle-delay and it does effect the documentation popup!

The question is then if we want to have a separate variable for the lsp-ui...

yyoncho commented 5 years ago

@blasut another timer running in lsp-ui-doc looks a bit of a overkill for me, but if you want to implement it I am fine with that. But given the amount of work that has to be done here and in lsp-mode it won't be a priority for the maintainers.

blasut commented 5 years ago

@yyoncho I'm fine with being able to change it. I could add info about it to the readme?

yyoncho commented 5 years ago

I could add info about it to the readme?

Sure.

sebastiencs commented 5 years ago

I added the variable lsp-ui-doc-delay in https://github.com/emacs-lsp/lsp-ui/commit/3b91ef685ed7be5016d8c1b1bcdff177c4b7e75d

rileyrg commented 4 years ago

Any info on the request to be able to scroll the child frame? Many docs are cut.

victorolinasc commented 4 years ago

I've created a separate issue for doc scrolling. I think it will help maintainers track this better. @sebastiencs and @yyoncho if that is not the case, please feel free to close the issue.