Skip to content

Conversation

@itok01
Copy link

@itok01 itok01 commented Apr 24, 2021

This PR Changes to convert the leading tilde to home path on Windows command line.
Until now, VSCode was inconvenient because it didn't recognize the leading tilde as home directory.

e.g.:

Then VSCode will open the file C:\Users\<USER>\a.txt.

code ~\a.txt

Then VSCode will open the directory C:\Users\<USER>\.

code ~

Then VSCode will open the directory .\~a.txt.

code ~a.txt

@eamodio eamodio assigned eamodio and bpasero and unassigned eamodio Apr 25, 2021
@bpasero bpasero assigned sbatten and unassigned bpasero Apr 25, 2021
@itok01
Copy link
Author

itok01 commented Jul 14, 2022

#43560

@sbatten
Copy link
Member

sbatten commented Jul 14, 2022

the tilde expansion is a property of the shell and Powershell 7 supports this https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2 ... IMO this isn't really the responsibility of the editor itself.

@sbatten sbatten closed this Jul 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants