You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Network share path expansion should support forward slashes #17111
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...
Build still emits this error... after producing pwsh.exe:
Yeah I dunno what's up with that but I get it too so 🤷
Is that good enough or would you consider optimizing the regex?
That can be settled in the review. I would recommend making it a literal (@"pattern here") instead though so it's somewhat feasible to read 😁 (I know it was like that before, but while we're there might as well).
Is adding this comment OK? What's the preferred way of referring to issues? Absolute GH URL or #nnnnn?
I think that's good, but also can be settled in the review if needed.
Activity
MartinGC94 commentedon Apr 5, 2022
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.
sba923 commentedon Apr 5, 2022
Had almost found it 😆, now I need to remember how to build the repo and will give it a shot!
sba923 commentedon Apr 5, 2022
Tomorrow is another day 😜
SeeminglyScience commentedon Apr 5, 2022
Stéphane BARIZIEN (@sba923) You just wanna add
-ResGensba923 commentedon Apr 5, 2022
Thx.
Build still emits this error... after producing
pwsh.exe: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?
sba923 commentedon Apr 6, 2022
Is adding this comment OK? What's the preferred way of referring to issues? Absolute GH URL or
#nnnnn?// support both / and \ when entering UNC paths for typing convenience (#17111)SeeminglyScience commentedon Apr 6, 2022
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 (
@"pattern here") instead though so it's somewhat feasible to read 😁 (I know it was like that before, but while we're there might as well).I think that's good, but also can be settled in the review if needed.
sba923 commentedon Apr 6, 2022
OK. This works fine, so I'll proceed with creating the PR:
Support /'s in UNC path completion (PowerShell#17111)
sba923 commentedon Apr 6, 2022
PR #17117 created. Was not completely sure about the "impacts completers" section of the checklist, though.
Updated test for UNC tab expansion (PowerShell#17111)
Remove unused code from test case for PowerShell#17111
Support forward slashes in network share (UNC path) completion (#17111)…
Support forward slashes in network share (UNC path) completion (Power…