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
Network share path expansion should support forward slashes #17111
Comments
This is handled here: https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs#L4304 at a glance, it looks like a relatively simple thing to fix.
|
Had almost found it 😆, now I need to remember how to build the repo and will give it a shot! |
@sba923 You just wanna add |
Thx. Build still emits this error... after producing With this change, the expected result seems to be achieved (though the completion turns the forward slashes into backslashes, but that's OK): Is that good enough or would you consider optimizing the regex? |
Is adding this comment OK? What's the preferred way of referring to issues? Absolute GH URL or // support both / and \ when entering UNC paths for typing convenience (#17111) |
Yeah I dunno what's up with that but I get it too so 🤷
That can be settled in the review. I would recommend making it a literal (
I think that's good, but also can be settled in the review if needed. |
PR #17117 created. Was not completely sure about the "impacts completers" section of the checklist, though. |
🎉This issue was addressed in #17117, which has now been successfully released as Handy links: |
🎉 Handy links: |
Summary of the new feature / enhancement
As a user using the French keyboard layout, entering a forward slash (
Shift+:
) is way more convenient than entering a backslash (AltGr+8
). So using forward slashes throughout PowerShell has become muscle memory...This works in most cases.
Alas, tab expansion for inputs like
works, but this doesn't:
Proposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: