If a warning level error is present on a given line, it becomes the displayed errorLens message in place of an error level error that may be present on the same line.
Example:
A serious error is present
I make a change that triggers a warning on the same line (in this case the warning is coming from Prettier, but other warnings trigger the same behavior)
I am informed about the warning, but don't know that a more severe error is also present.
With the default error messaging styles in VSCode, it would be easy to see that both an error and a warning are present on the same line, but with the full-line highlighting I believe we need to be thoughtful about the hierarchy of which error is displayed.
Proposal: Priority order of ['error', 'warning', 'info', 'hint']. This could also be user configurable.
If a warning level error is present on a given line, it becomes the displayed errorLens message in place of an error level error that may be present on the same line.
Example:
With the default error messaging styles in VSCode, it would be easy to see that both an error and a warning are present on the same line, but with the full-line highlighting I believe we need to be thoughtful about the hierarchy of which error is displayed.
Proposal: Priority order of ['error', 'warning', 'info', 'hint']. This could also be user configurable.