VSCode Integrated Terminal and Git for Windows (git-bash) absolute paths to file

65 Views Asked by At

In the past, I remember VS Codium being able to open Git for Windows path (using git bash) but now, whenever I have a shell script outputting an absolute path:

  • VSCode detect the path if I try Ctrl + Click
  • The path is not interpreted correctly.

If for example I try:

$ realpath /c/ProgramData/Docker
/c/ProgramData/Docker

And Click + Hover on /c/ProgramData/Docker then VSCode asks me to open \c\ProgramData\Docker and fails (because that's not a valid windows path, whereas C:\ProgramData\Docker is).

Is there a setting or an extension I did miss ?

0

There are 0 best solutions below