emacs-lsp / lsp-haskell

lsp-mode :heart: haskell
https://emacs-lsp.github.io/lsp-haskell
GNU General Public License v3.0
227 stars 56 forks source link

what hints are "all hints"? #117

Closed jwaldmann closed 3 years ago

jwaldmann commented 3 years ago

There are situations where I see "Apply all hints" but I don't know what these are (and where they'd be applied, #116)

Screenshot_2021-03-09_17-44-21

michaelpj commented 3 years ago

Hi, this is either about the code action haskell-language-server produces, or about how lsp-mode shows it to you, so please open an issue in the appropriate repository as per the README: https://github.com/emacs-lsp/lsp-haskell#troubleshooting

jwaldmann commented 3 years ago

Thanks. Either - or: Would you have a guess on which it is?

michaelpj commented 3 years ago

Well, I'm not sure quite what you'd like to happen. The other issue was about previewing the changes, which I think is a lsp-mode issue. Is it that you want the message to be something like "Apply all hints in this file"? Then that would be a haskell-language-server issue.

jwaldmann commented 3 years ago

I was hoping there is a way to see the actual list of hints. (Later I want to preview their application, but first I want to just see their names.)

Screenshot_2021-03-09_18-45-48

Sometimes it looks like the above - then I assume "make all imports explicit" is a subset of "all hints".

michaelpj commented 3 years ago

I think you probably want to open something in haskell-language-server! It seems like there are a few things that could be improved:

jwaldmann commented 3 years ago

Thanks, will do.