neppramod / java_emacs

Tutorial and Configuration to setup java development for emacs
GNU General Public License v3.0
32 stars 14 forks source link

Remove lamp icons from code-actions suggestions #1

Open gustavobertolino opened 3 years ago

gustavobertolino commented 3 years ago

I installed java_emacs setup and everything is working nice. But I'd like to remove the lamps/lights that appear when some action is suggested by the code-action tool, as follows in the image and gif bellow

Screenshot from 2021-02-18 16-10-28

emacs-java-refactor-tips

Any clue where exactly I can disable just these lamp icons? I'd like to continue using the sideline suggestions and warnings though

neppramod commented 3 years ago

See this if you want to disable individual elements: https://emacs-lsp.github.io/lsp-mode/tutorials/how-to-turn-off/. Also this is more detailed (code): https://github.com/emacs-lsp/lsp-ui/blob/master/lsp-ui-doc.el

I think it is tied to sideline. See my other setting: https://github.com/neppramod/emacs-configuration/blob/master/configuration.org#lsp-ui