-
Notifications
You must be signed in to change notification settings - Fork 74
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
The plugin does not properly indent XML #137
Comments
References to work on this issue: VSCode-xml code: https://github.com/redhat-developer/vscode-xml/blob/master/src/extension.ts#L213 HTML-ls code: https://github.com/microsoft/vscode/blob/master/extensions/html-language-features/client/src/htmlMain.ts#L112 The difference (that should make it work properly) should be somewhere in there in the HTML code, I might be wrong and it could be somewhere else. |
I will work on this. |
Fixes #137 Signed-off-by: David Kwon <dakwon@redhat.com>
Reopening(?) as I noticed that the problem reappeared:
Leads to:
|
Which version of vscode-xml are you using? |
I don't think there's a regression here. When you press enter, there's no way to know this is to end the text and the cursor needs to reduce indentation. |
Thanks for getting back to me. @fbricon you are correct about the hitting ctrl+space then selecting @angelozerr I am using the version 0.8.0 and VSCodium 1.37.1 |
Hey,
I am using the version 0.5.1 of the plugin and noticed something really strange.
The indentation upon hitting 'enter' on some text does not work as expected:
I have the following code (the pipe is the cursor)
After hitting enter, here's the result:
Should be:
If I use HTML as the file type in VSCode, indentation works as expected.
The text was updated successfully, but these errors were encountered: