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-doc-position 'at-point not working on terminal Emacs #758

Open LionyxML opened 8 months ago

LionyxML commented 8 months ago

Thank you for the bug report

Bug description

I have this custom options set:

'(lsp-ui-doc-position 'at-point)
'(lsp-ui-doc-show-with-cursor t)

When I run Graphical Emacs, everything works as expected: image

But when I run Emacs on the terminal with the same options, it never shows "at-point", it dances around up and down. image

Steps to reproduce

Just setting:

'(lsp-ui-doc-position 'at-point)
'(lsp-ui-doc-show-with-cursor t)

It is not dependent of any language, it happens to all languages.

Expected behavior

It is not dependent of any language, it happens to all languages.

Which Language Server did you use?

I used ts-ls and eslint, but the problem does not depend on any specific language server.

OS

Linux

Error callstack

No error callstack.

Anything else?

I originally posted on Discord: https://discord.com/channels/789885435026604033/789890622424219658/1157881730246656071

Since no one could help, I am opening it as a bug.

LionyxML commented 6 months ago

Thanks for moving it @yyoncho, It really is a lsp-ui issue.