Closed ssalbdivad closed 1 year ago
This adds a config option to flexibly allow regex-based transformations of diagnostic messages. E.g. the following config:
{ "errorLens.replace": [ { "matcher": "foo (.*)", "message": "just $1" } ] }
Would transform a diagnostic message "foo bar" to "just bar".
"foo bar"
"just bar"
LGTM. Thanks.
This adds a config option to flexibly allow regex-based transformations of diagnostic messages. E.g. the following config:
Would transform a diagnostic message
"foo bar"
to"just bar"
.