Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaped string doesnt work properly on paths pasted from windows explorer #13

Open
Camderman106 opened this issue Sep 28, 2023 · 0 comments

Comments

@Camderman106
Copy link

When paths are copied via "copy path" in explorer, windows includes the quotes around the path for you:
path = "C:\myFolder\myFile.txt"
The escape extension requires you to add quotes to be able to paste the escaped string:
""C:\myFolder\myFile.txt""
which gets converted to
""C:\myFolder\myFile.txt""

Proposed solution: trim the trailing and leading quote (if present) on paste, then apply the rule as normal
Alternative: Have a "paste escaped" context menu option which does not require the additional quotes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant