question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tab Completion removes backslash in UNC Path

See original GitHub issue

System Details

  • Operating system name and version: Windows 10 v1607, build 14393.970
  • VS Code version: 1.11.2
  • PowerShell extension version: 0.11.2
  • Output from $PSVersionTable:

PSVersion 5.1.14393.953 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} BuildVersion 10.0.14393.953 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

Issue Description

Tab completion is removing the initial backslash from UNC Paths. For instance: \\CorpServer\ becomes \CorpServer\ when one of the subdirectories is selected. This occurs at every level, not just at the root of the server/share.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
daviwilcommented, Apr 24, 2017

Wow, that’s weird, I’ll take a look!

1reaction
daviwilcommented, May 17, 2017

Great, thanks for confirming! I’ll keep this issue open until that fix comes to the stable VS Code release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get bash to stop escaping $ during tab completion?
If it understands that it's a path variable so that it expands the filename (which it does for me) it should understand to...
Read more >
Windows Command Prompt auto-completion with forward ...
Is there a way to make Powershell use forward slashes instead of backslashes for path autocompletion? Hot Network Questions · What is causing ......
Read more >
Tab completion and auto suggestion uses backslashes for ...
Tab completion and auto suggestion uses backslashes for escape characters instead of simply wrapping in quotes. #5433.
Read more >
Tab shortcut doesn't add the slash to the end of the suggested ...
I would expect the suggested name ends with a '\' if it's a directory, so I can continue to type in the first...
Read more >
Avoid a trailing slash in bash when completing a directory ...
I have noticed zsh has a neat feature that removes the trailing slash if it's not needed after a space or enter key...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found