-
Notifications
You must be signed in to change notification settings - Fork 72
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
[XML] Support for autoCloseTags #143
Comments
Sure thing! I'll take a look. |
I'd rather not rely on custom commands. LSP offers the |
Thanks!
I don't remember how it works, but if lsp4xml needs some change, please create an issue for that with some explanation. Thanks! |
Ok, I will. |
@mickaelistria we have a lot of discussion about this feature but IMHO I think WWD should provide this custom auto close tag request for XML and HTML both (see #208) I'm not sure that HTML LS will provide this feature with workspace/applyEdit and we have a lot of users who complains about this missing feature which I think it's very important when you write XML or HTML. |
How does HTML LS implement it? |
I noticed that HTML LS provides now a new custom request (I think we should do the same thing for XML). See https://github.com/microsoft/vscode/blob/5323a5374639a302e00d77c0ff2f9027826ad9eb/extensions/html-language-features/client/src/htmlClient.ts#L46 |
Can you please remind me why |
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes eclipse-wildwebdeveloper#143 Signed-off-by: azerr <[email protected]>
Fixes #143 Signed-off-by: azerr <[email protected]>
XML language server supports a custom command to manage auto close tag (which is very nice when you are editing XML content).
I have started to implement this feature with
org.eclipse.ui.genericeditor.autoEditStrategies
:See https://github.com/angelozerr/lsp4e-xml/blob/master/org.eclipse.lsp4e.xml/plugin.xml#L139 and https://github.com/angelozerr/lsp4e-xml/blob/7e14cc109c2bcc80809c6625d310568f8052f421/org.eclipse.lsp4e.xml/src/org/eclipse/lsp4e/xml/CloseTagAutoEditStrategy.java
To be honnest with you, I don't remember if it works well, but vscode-xml consumes it and works well.
@yanxi0830 is there any chance that you could work on this issue? Thanks!
The text was updated successfully, but these errors were encountered: