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
Two empty lines at EOF with ensure_newline_at_eof_on_save and trim_trailing_white_space_on_save enabled #1762
Comments
Also confirmed on Windows (7 with ST 3136 x64). |
possible duplicate of #263 |
Looks like a duplicate to me. |
Yes, I think it is a duplicate. I did not find the other issue by searching for "ensure_newline_at_eof_on_save", sorry. |
Closing as a duplicate of #263. Actually, I consider this issue to be more precise so I'm closing the other issue instead. |
this may have been fixed in 3189, as the functionality has been moved from a Python module to core. I can't replicate it any more. |
Can confirm I am not observing this issue anymore. 🎉 See #2600. |
Summary
Given the cursor is on the last line of the file and there is white space before the cursor. When I save the file the white space is removed, but there is also a new empty line added. So after saving there are two empty lines at the end of the file.
Expected behavior
Actual behavior
Steps to reproduce
Environment
dpi_scale
no idea where to check it, but it is not set in settingsThis issue is reproducible in reverted/clean state.
The text was updated successfully, but these errors were encountered: