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-lens-enable` setting is a bit hard to find, maybe rename to `lsp-enable-lens` #665

Closed fakedrake closed 2 years ago

fakedrake commented 2 years ago

I updated lsp and lsp-ui and in all my non-specialized imports I get some inline suggestions that I want to get rid of. Note that these do not seem to be sideline messages, they appear in every line, not just the line with the cursor.

How do I get rid of these?

image

EDIT: I just realised, when I narrow to region (eg narrow to function) these suggestions all get crammed to the top of the buffer.

EDIT2: It turns out its lsp-lens-mode but I can't find how to disable it.

fakedrake commented 2 years ago

Turns out it was lsp-lens-enable, maybe that should be renamed to lsp-enable-lens to be consistent with the rest of lsp-enable-* variables?

ericdallo commented 2 years ago

this is not from lsp-ui, but from lsp-mode and it follows all other features naming convention of lsp-<feature>-enable

ericdallo commented 2 years ago

How to disable things: https://emacs-lsp.github.io/lsp-mode/tutorials/how-to-turn-off/