-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Customizable TH warning #2781
Customizable TH warning #2781
Conversation
Hmm, given the existence of the LSP |
Agreed |
Would it be crazy to show warnings to the user as well? Or is that going to be too aggressive in general? |
Do we have any warning logs? |
Yes, quite a few. The flip side of this is: how bad would it be if this message went only to the log? Note that now we will send it to the client log with |
Sending the message to the log stream will provide useful diagnostics, but the goal of this message is to create awareness. I suspect that most HLS users, specially new ones, will not even bother to check the logs in the event of a crash. |
Co-authored-by: wz1000 <[email protected]>
I want to change the
LspT
action that gets run the first time that we run into unsupported Template Haskell. This can also be used to completely disable the TH warning (programmatically) .