-
Notifications
You must be signed in to change notification settings - Fork 93
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 missing root end tag #595
CodeAction for missing root end tag #595
Conversation
6bca0c1
to
e026c08
Compare
...lsp4xml/extensions/contentmodel/participants/codeactions/MarkupEntityMismatchCodeAction.java
Show resolved
Hide resolved
...lsp4xml/extensions/contentmodel/participants/codeactions/MarkupEntityMismatchCodeAction.java
Outdated
Show resolved
Hide resolved
...lsp4xml/extensions/contentmodel/participants/codeactions/MarkupEntityMismatchCodeAction.java
Outdated
Show resolved
Hide resolved
...lsp4xml/extensions/contentmodel/participants/codeactions/MarkupEntityMismatchCodeAction.java
Outdated
Show resolved
Hide resolved
@NikolasKomonen I think we should manage <a> but it doesn't work when a is not a root element: <root>
<a>
</root> because in this case it's a |
e026c08
to
e7aa564
Compare
@angelozerr I've updated to also work for ETagRequired, let me know if anything else needs to be updated |
...eclipse/lsp4xml/extensions/contentmodel/participants/codeactions/ETagRequiredCodeAction.java
Show resolved
Hide resolved
...lsp4xml/extensions/contentmodel/participants/codeactions/MarkupEntityMismatchCodeAction.java
Outdated
Show resolved
Hide resolved
@NikolasKomonen please fix my 2 little comments and after that we can merge it. |
Creates a code action for both MarkupEntityMismatch and ETagRequired errors Fixes eclipse-lemminx#588 Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
e7aa564
to
b69f2e1
Compare
@angelozerr Hey, I've update the last 2 things. It should be good to go now. |
Nice work @NikolasKomonen , thanks! |
Fixes #588
Signed-off-by: Nikolas Komonen nikolaskomonen@gmail.com