Description
Thank you for taking the time to improve Flycheck.
Checklist
- I have checked existing issues for potential duplicates before creating this one.
Feature description
I would love to be able to make flycheck not display error information when cursor comes upon the error in the buffer.
Motivation is that I am currently using flycheck-inline and while I love it, I find the behaviour where the error appears whevener I go over the affected piece of code with my cursor, too aggressive, as it the rest of my code jump up and down even when I don't care about the error message. Instead, I would love to be able to display the error under cursor manually, when I need it.
I figured out that probably I can show error manually with flycheck-display-error-at-point
, but I failed to find a way to disable automatic showing of errors.
Ideal behaviour would be that I have to manually trigger showing of error under the cursor, but that it dissapears on its own if error is fixed/removed or if I move my cursor away.
For example, this is how a tooltip in lsp-ui behaves like, exactly like this.
I imagine this could be some var we can toggle, and that would provide this behaviour in such case.
Describe alternatives you've considered
I have tried setting flycheck-display-errors-delay
to nil or 0 or negative value but that just removes any delay.
I found the issue #1332 that was asking for this same feature, but it was closed, and solutions from it work only half way (at least when I tried them). It had a PR open, but it was taking long time to finish and was abandoned at the end.
Thanks for any help!