Support identation for XML contributed languages#862
Support identation for XML contributed languages#862datho7561 merged 1 commit intoredhat-developer:mainfrom
Conversation
cc42121 to
96a51fa
Compare
Signed-off-by: azerr <azerr@redhat.com>
|
There is a bug with linked editing that makes proper tag indentation very annoying. For instance, if you have an <?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2000/svg https://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd">
|
</svg>If you add a tag This behaviour doesn't happen when you have tag auto closing, since the indentation isn't triggered if you have auto tag closing (eg. in xml and xsd files), but |
|
@datho7561 I created a PR to try to fix issue with linked editing range at eclipse-lemminx/lemminx#1457 But the bug that you found is not related to this vscode-xml PR indentation. |
datho7561
left a comment
There was a problem hiding this comment.
Looks good. Thanks, Angelo!

Support identation for XML contributed languages