Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Use related information for unclosed elements #129

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

enxio
Copy link
Owner

@enxio enxio commented Apr 30, 2021

Revert MarkupEntityMismatch and ETagRequired error ranges so they only
cover the start tag element name.

Keep existing CodeAction behaviour intact.

If the client supports DiagnosticRelatedInformation, add the expected
location of the close tag as related info to MarkupEntityMismatch and
ETagRequired errors.

Closes eclipse-lemminx#963

Revert MarkupEntityMismatch and ETagRequired error ranges so they only
cover the start tag element name.

Keep existing CodeAction behaviour intact.

If the client supports DiagnosticRelatedInformation, add the expected
location of the close tag as related info to MarkupEntityMismatch and
ETagRequired errors.

Closes #963
@enxio enxio merged commit 311c1e6 into enxio:master Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linting makes editing hard
2 participants