Skip to content

Improve multi-line span previews

Fredrik Wieczerkowski requested to merge better-multiline-previews into master

Based on !34 (merged).

Improve multi-line previews in warning/error messages. Consider the following example snippet (the highlighted part is in parentheses):

This [is a sample
sentence.] 12345678

Current:

This is a sample
sentence. 12345678
     ^^^^

Proposed:

This is a sample
     ^^^^^^^^^^^...
Edited by Fredrik Wieczerkowski

Merge request reports

Loading