Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Strips trailing whitespace when leave line #175

@AlexWayfer

Description

@AlexWayfer

Prerequisites

Description

Hello!

Stripping trailing whitespaces is cool, but I would like to have this at every cursor moving, before file saving.

Steps to Reproduce

  1. Write line of code on the some level of indentation.
  2. Write another line of code after one empty line.
  3. 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:

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions