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
It seems that errors with a range of column extents, those with a dash, are not highlighted in matlab buffers with flycheck-mode enabled.
For example a nasty error like this:
<< L 19 (C 9-11): INV(A)_b can be slower and less accurate than A\b. Consider using A\b for INV(A)_b or b/A for b*INV(A). >>
Would not be highlighted in the matlab buffer seemingly due to the << (C 9-11) >> portion.
Errors like this:
<< L 7 (C 6): Terminate statement with semicolon to suppress output (within a script). >>
Would be highlighted as expected.
I was able to fix this problem with this modification to my flycheck-matlab-mlint.el
From line 63:
;; old line
;'((warning line-start "L " line " (C " (1+ digit) "): " (message) line-end))
;; new line
'((warning line-start "L " line (message) line-end))
I don't know if this is a good solution or if there is a better one, but I am at least seeing my errors now.
The text was updated successfully, but these errors were encountered:
dsharoh
changed the title
certian mlint errors aren't displayed by flycheck
certain mlint errors aren't displayed by flycheck
Oct 13, 2015
JeremyWeed
pushed a commit
to JeremyWeed/matlab-mode
that referenced
this issue
Sep 18, 2018
First off, thanks for your work on matlab-mode!
It seems that errors with a range of column extents, those with a dash, are not highlighted in matlab buffers with flycheck-mode enabled.
For example a nasty error like this:
<< L 19 (C 9-11): INV(A)_b can be slower and less accurate than A\b. Consider using A\b for INV(A)_b or b/A for b*INV(A). >>
Would not be highlighted in the matlab buffer seemingly due to the << (C 9-11) >> portion.
Errors like this:
<< L 7 (C 6): Terminate statement with semicolon to suppress output (within a script). >>
Would be highlighted as expected.
I was able to fix this problem with this modification to my flycheck-matlab-mlint.el
From line 63:
;; old line
;'((warning line-start "L " line " (C " (1+ digit) "): " (message) line-end))
;; new line
'((warning line-start "L " line (message) line-end))
I don't know if this is a good solution or if there is a better one, but I am at least seeing my errors now.
The text was updated successfully, but these errors were encountered: