Skip to content

[UX] Implement a Pasted Path Conversion feature #1593

@kilasuit

Description

@kilasuit

Description of the new feature/enhancement

Inspired by this Issue in PowerShell PowerShell/PowerShell#12900 I think that we should have an experimental/opt in feature that allows a pasted bit of text like

C:\Program Files\

to auto convert to

'C:\Program Files\'

with an optional ability for on paste to auto run Test-Path via a configuration option to confirm that the path exists first for commands like Set-Location as not to throw an error (by Set-Location) when an attempt to set-location is to a non existing location.

I personally don't think this should be added to PowerShell natively & felt that it was better added here instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions