Open mheiber opened 5 months ago
Given an error range and a selection range, when should we show the error? There are some choices:
A: overlap and selection is multi-character
------- error ----------- selection
B: error contains selection and selection is multi-character
--------------error ------selection
C
------errror --------------selection
D
------errror ----------selection
E: error overlaps with selection (inclusive) and selection is single-character
------errror ^ selection
F: error overlaps with selection (inclusive) and selection is single-character
It would be nice if languages were consistent, so at least a recommendation would be most welcome!
If https://github.com/microsoft/language-server-protocol/issues/1897 is implemented, then ideally the same recommendation should apply there.
Given an error range and a selection range, when should we show the error? There are some choices:
A: overlap and selection is multi-character
B: error contains selection and selection is multi-character
C
D
E: error overlaps with selection (inclusive) and selection is single-character
F: error overlaps with selection (inclusive) and selection is single-character
It would be nice if languages were consistent, so at least a recommendation would be most welcome!