Skip to content

[Feature Request] Option to auto trim leading/ending new lines/spaces from pasted content #14410

Open
@NickeManarin

Description

@NickeManarin

Description of the new feature/enhancement

Simple feature quest, to add an option to automatically trim spaces and/or new lines from pasted text.

I'm constantly copying stuff, pasting in the terminal and having to go with my arrow keys to erase unnecessary chars so that my commands work.

Proposed technical implementation details (optional)

We can have these options:

  1. Trim new lines
  2. Trim spaces

a) Trim leading
b) Trim ending

Maybe it should display as two ComboBoxes:

New line trimming: Disabled/Leading/Ending/Both
Space trimming: Disabled/Leading/Ending/Both

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SettingsIssues related to settings and customizability, for console or terminalHelp WantedWe encourage anyone to jump in on these.In-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions