You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
I have the same case. I like to add blank lines before starting new contents. If I don't type anything after hitting "Enter" a couple times, the cursor bounces back to the end of the file.
I have the same problem. However:
The reason for this behaviour lies NOT within autosave-onchange's sourcecode but in the atom default saving behavior!
You can verify this by:
disabling or deleting 'autosave-onchange' and
inserting a few empty lines at the end of your document
use hotkey to save (default: 'ctrl + s')
You will notice that the empty lines at the document end are being erased.
The package responsible is the 'whitespace' package in the atom core/default packages. To disable this behavior and keep all newlines at the end of the file:
Now all newlines will remain at the end of all files.
Note that you can also define this feature language-specific - see settings hint for more details.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I click multiple spaces (Enter) they are removed by the autosave. Need to place a # for comment or move something else.
The text was updated successfully, but these errors were encountered: