This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Strips trailing whitespace when leave line #175
Copy link
Copy link
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Hello!
Stripping trailing whitespaces is cool, but I would like to have this at every cursor moving, before file saving.
Steps to Reproduce
- Write line of code on the some level of indentation.
- Write another line of code after one empty line.
- Get warnings from linters about trailing whitespaces.
Expected behavior: [What you expect to happen]
Move cursor vertically at indentation level, but don't leave trailing whitespaces.
Actual behavior: [What actually happens]
There are trailing whitespaces until file saving:
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
Arch Linux.
> atom --version
Atom : 1.26.0
Electron: 1.8.4
Chrome : 59.0.3071.115
Node : 8.2.1
> apm --version
apm 1.19.0
npm 5.8.0
node 9.11.1 x64
atom 1.26.0
python 2.7.14
git 2.17.0
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
