[UX] Implement a Pasted Path Conversion feature
See original GitHub issueDescription of the new feature/enhancement
Inspired by this Issue in PowerShell https://github.com/PowerShell/PowerShell/issues/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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
What is Happy Path in UX Design?
Designing happy paths is every designer's priority. Happy paths create positive user experiences, increasing product adoption and retention.
Read more >How UI/UX Website Design Increases Conversion Rates
10-Minute Quickview on UI/UX design and how it impacts website conversions. Learn how to implement the right approach toward increasing ...
Read more >Advanced UX Analysis: What Are Funnels & How to Use ...
Funnels allow product managers to track conversion rates between funnel steps and identify areas where users are getting stuck or dropping off.
Read more >Mastering Photoshop With Paths
You can create your paths in Illustrator and easily import them by Copying (Command + C) and Pasting (Command + V) in Photoshop....
Read more >12 Best UX Tools & Software to Perfect the User Experience
Learn about the most useful UX tools to improve the user experience, the different types of tools, which ones are right for you,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A simpler sample might be warranted. If the pasted text resolves to a path (call
Test-Path
) and has whitespace, just add quotes. This also seems more useful, e.g. when calling external commands.@SeeminglyScience wow, awesome! Can you submit a PR to add this to SamplePSReadLineProfile.ps1?