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

Handles setting a space before a self closing tag end bracket. #224

Merged

Conversation

NikolasKomonen
Copy link
Contributor

Fixes #197

Also fixed an unknown issue where the new settings would replace existing and not
update the current ones. In the case of a setting not being sent from the client,
the default value set on the server side would be lost in XMLFormattingOptions
anymore.

@NikolasKomonen NikolasKomonen force-pushed the whitespaceAutoClosingTag branch from aed15df to 06d9a34 Compare November 14, 2018 17:01
@fbricon
Copy link
Contributor

fbricon commented Nov 14, 2018

OK to merge once the missing javadoc on XMLFormattingOptions(boolean) is added

Fixes eclipse-lemminx#197

Also fixed an unknown issue where the new settings would replace existing and not
update the current ones. In the case of a setting not being sent from the client,
the default value set on the server side would be lost in XMLFormattingOptions
anymore.

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
@NikolasKomonen NikolasKomonen force-pushed the whitespaceAutoClosingTag branch from 06d9a34 to 86644a6 Compare November 14, 2018 20:48
@NikolasKomonen
Copy link
Contributor Author

@fbricon updated

@fbricon fbricon merged commit b3b16e8 into eclipse-lemminx:master Nov 14, 2018
@NikolasKomonen NikolasKomonen deleted the whitespaceAutoClosingTag branch January 23, 2019 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new preference to insert whitespace before closing empty end-tag
2 participants