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

change default value of lsp-ui-doc-position to at-point #518

Closed brotzeit closed 3 years ago

brotzeit commented 3 years ago

I think most users prefer this position. But maybe I'm wrong...

jcs090218 commented 3 years ago

I personally use at-point. No strong objection here.

yyoncho commented 3 years ago

This was recently changed by @sebastiencs to try to avoid lsp-ui doc hiding the text near cursor.

sebastiencs commented 3 years ago

@brotzeit @jcs090218 The new default has been discussed here: https://github.com/emacs-lsp/lsp-ui/pull/493#issuecomment-684919990

The at-point behavior is now reproduced with the mouse pointer: see this comment: https://github.com/emacs-lsp/lsp-ui/issues/508#issuecomment-692239567

The new default is to avoid hiding part of the buffer around the cursor. This is to follow this issue: https://github.com/emacs-lsp/lsp-ui/issues/494

jcs090218 commented 3 years ago

The new default has been discussed here: #493 (comment)

I see. Thanks for updating me this!