Replies: 14 comments 18 replies
-
Look for a way to disable "class plugin" in your editor. disable_class_plugin.mp4 |
Beta Was this translation helpful? Give feedback.
-
Hello @hellwolf, sorry for bothering you. You can disable it by BTW, you can query all settings by |
Beta Was this translation helpful? Give feedback.
-
Thank you @jhrcek and @July541 ! Since I am using emacs, I am trying to figure out a way myself:
(EDIT: WRONG CODE) (use-package lsp-haskell
:config
(add-hook 'lsp-after-initialize-hook
(lambda ()
(lsp--set-configuration
'(:haskell (:plugin (:class (:codeLensOn false))))
)))) |
Beta Was this translation helpful? Give feedback.
-
Just wanted to say that I like the feature, just that the clutterness and the fact clicking it accidentally sometimes modifies the code is a bit undesired. Thank you for all your works, I enjoy it a lot using emacs. |
Beta Was this translation helpful? Give feedback.
-
@hellwolf From https://github.com/emacs-lsp/lsp-haskell#configuration, maybe
Just from an amateur of emacs. |
Beta Was this translation helpful? Give feedback.
-
that one definitely helped, but now I need to fight for the "false" being string issue |
Beta Was this translation helpful? Give feedback.
-
I think I found the right combination: (use-package lsp-haskell
:config
(add-hook 'lsp-after-initialize-hook
#'(lambda ()
(lsp--set-configuration
'(:haskell (:plugin (:class (:codeLensOn nil))))
)))) :) EDIT: still didn't work |
Beta Was this translation helpful? Give feedback.
-
I will report to lsp-mode my experience, maybe they could make it different. I am not sure how vscode experience is. |
Beta Was this translation helpful? Give feedback.
-
I am sure about adding |
Beta Was this translation helpful? Give feedback.
-
I'm surprised that the lenses are appearing to the right of the definition, rather than above them like they do for other type signature lenses. Is that intended @July541 ? |
Beta Was this translation helpful? Give feedback.
-
@hellwolf could you give us the logs of a session showing the type lens responses. And can you see if you get the same behaviour as @jhrcek in vscode? |
Beta Was this translation helpful? Give feedback.
-
Okay, now I can reproduce this! |
Beta Was this translation helpful? Give feedback.
-
Yes
Works! Thanks @michaelpj . I should look into changelog first next! |
Beta Was this translation helpful? Give feedback.
-
Actually the real annoyance is still that I sometimes accidentally clock into those "code lenses" then it creates those code for me... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After a recent hls update, the type signatures in the instances are cluttering my Emacs editor:
I often accidentally click them and it would add instance sig for me, I'd prefer not seeing them.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions