Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98994

How to open a file in vscode under wsl using the vscode:// url?

$
0
0

I would like to open a file in vscode under WSL (Windows Subsystem Linux) using the vscode:// url.

You can do it with a normal file in the usual filesystem vscode://file/c:/myProject/package.json
It is clearly explained in the documentation

I would like to open a file which is located in WSL, so to have something like this vscode://file/home/user/myProject/package.json
But It does not work !

It does not work to use the complete path in windows as it does not start the WSL vscode vscode://file/C:\Users\john\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gqsdeaz4\LocalState\rootfs/home/user/myProject/package.json


Viewing all articles
Browse latest Browse all 98994

Latest Images

Trending Articles



Latest Images