-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toggle warnings off and on? #2134
Comments
I'd be careful to not ignore too many warnings and advise enabling incomplete-patterns by putting You can also put any of these in your ghci configration file: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/options-sanity.html I think just giving you a list of warnings would answer your question, but overall do you a disservice. What are you trying to hide or get rid of that is bothering you? |
Turn all warnings off for most of the time (not always) would not hurt. Editing ~/.ghci is useful to remove (specific) warnings completely, but that is not what I want. P.S. Writing |
From a cursory check it doesn't seem possible in flycheck to disable showing all warnings. You can turn off the individual checkers that produce them, or possibly configure the checkers themselves, but there doesn't seem to be a flycheck setting for: I only want to see errors, not warnings. @lunaryorn? |
Removing the Haskell label as this is actually a flycheck feature request. |
@TheBB yeah, good call. |
@TheBB You can filter the error list by level, see |
Okay, so the answer becomes:
We can possibly include such an advise as a toggle. |
@TheBB You forgot navigation 😉 As for the advice, speaking as the maintainer of Flycheck I'm strictly against any advices for Flycheck functionality—actually, against any advises at all, fwiw. If you add advises for Flycheck I'll assume that you also take responsibility for all Flycheck issues that appear in Spacemacs, for I'll refuse to deal with them. I'm sorry for the harsh words, but I've had my share of fun with broken and crappy advises, and I just don't feel like dealing with that anymore If you'd like to have this feature then please implement it in Flycheck itself. I said that I don't plan to add such a feature myself—I just don't need it—but that shouldn't stop anyone from giving it a shot and opening a corresponding pull request for Flycheck. It's a reasonable feature, and nothing stands against merging it |
Okay, I interpreted your "don't plan to add such a feature" the wrong way, then. |
@TheBB I see, I'm sorry for the misunderstanding 😊 I should have said that in a different way. Sorry |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
How about
SPC e w
to toggle warnings off/on permanently?The text was updated successfully, but these errors were encountered: