This bug has been driving me nuts. I unchecked “Ensure Single Trailing Newline” in Whitespace settings, but Atom still deletes empty lines of code when I save files. I even disabled the package and this problem is still persisting. I’ve been asking about this bug everywhere to no avail. Help would be huge.
Please don’t post more than one thread per question. This thread is functionally identical to your previous one and you should have posted it as a comment in that thread.
I don’t think I’m asking the same thing here. My other question was about indenting in defining functions. This question pertains to lines being deleted when saving. Watch here: https://www.youtube.com/watch?v=kvjgdggBjMg. My other question was resolved.
This sounds like something the ‘beatify’ type package would do.
- What package gives you Python syntax highlighting?
- Which other non-core packages do you have?
- Is the symptoms still there if you run
atom --safefrom the command line?
Consider using a free tool such as ShareX to make recordings of your actions on the PC.
I think just linter
platformio, autocomplete-python, busy-signal, file-icons, intentions, linter, minimap, python-autopep8, script
I got this to correct itself in safe mode, so it’s one of those packages definitely.
Missed the reply button, check my response.
Yep, that was it. Lesson learned, don’t add a bunch of recommended packages, just add the ones you need.
Thanks for the feedback.
Nice catch! Thank you.