You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Thanks for mentioning! I am aware of sideline as an option, but I find it problematic when needing to display multi-line errors, and we get a lot of those in Haskell (where I do a lot of my development), they are not aligned well in the sideline and are quite hard to read.
But
7AD7
in general, I don't want something constantly jumping out as I move around the buffer, be it in the sideline or popup or minibuffer, I would leave instead to be able to have that info displayed on demand.
Thanks for mentioning! I am aware of sideline as an option, but I find it problematic when needing to display multi-line errors, and we get a lot of those in Haskell (where I do a lot of my development), they are not aligned well in the sideline and are quite hard to read.
But in general, I don't want something constantly jumping out as I move around the buffer, be it in the sideline or popup or minibuffer, I would leave instead to be able to have that info displayed on demand.
It was recently resolved by introducing a new feature, sideline-truncate. Would you be willing to give that a try?
Thank you for taking the time to improve Flycheck.
Checklist
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!
The text was updated successfully, but these errors were encountered: