Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeAction for MarkupEntityMismatch #588

Closed
angelozerr opened this issue Oct 29, 2019 · 0 comments · Fixed by #595 or enxio/lsp4xml#13
Closed

CodeAction for MarkupEntityMismatch #588

angelozerr opened this issue Oct 29, 2019 · 0 comments · Fixed by #595 or enxio/lsp4xml#13
Assignees
Labels
code action enhancement New feature or request XSD
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Oct 29, 2019

Given this XML

<project xmlns="http://maven.apache.org/POM/4.0.0" 
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 

image

A code action should close the project root element by inserting

</project>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Nov 15, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Nov 15, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Nov 22, 2019
Creates a code action for both MarkupEntityMismatch and ETagRequired errors

Fixes eclipse#588

Signed-off-by: Nikolas Komonen <[email protected]>
@angelozerr angelozerr added the enhancement New feature or request label Nov 22, 2019
@angelozerr angelozerr added this to the v0.9.2 milestone Nov 22, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Nov 25, 2019
Creates a code action for both MarkupEntityMismatch and ETagRequired errors

Fixes eclipse#588

Signed-off-by: Nikolas Komonen <[email protected]>
angelozerr pushed a commit that referenced this issue Nov 25, 2019
Creates a code action for both MarkupEntityMismatch and ETagRequired errors

Fixes #588

Signed-off-by: Nikolas Komonen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code action enhancement New feature or request XSD
Projects
None yet
2 participants