Skip to content

Automatic trailing white spaces on line move #86

@eorroe

Description

@eorroe

So if I'm on a line of code and I move to another line the trailing spaces are automatically deleted from last line I was on.

Pros:

  1. When on an untitled tab where let's say I paste some code and edit it I'll be able to delete trailing spaces by moving from line to line (As of right now I can't delete trailing spaces on save since it's an untitled tab, so I have to call Delete Trailing spaces)
  2. No need to call Delete Trailing Spaces since it'll just delete all the trailing spaces when I move from line to line. (Yet you'll keep this simply because of people just installing this, and call this on files which they already have trailing spaces)
  3. Your algorithm wouldn't have to search the whole file for trailing spaces, again since it'll do it by moving from line to line.

Cons:

I had one in mind but I already forgot so I'm not sure if there really is any.

So over all this would improve productivity because we don't need to wait till we save file, or call Delete Trailing Spaces

If this is a sure no, perhaps as an option in the settings

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