New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening VS Code with URLs doesn't work with \\wsl$
urls
#99691
Comments
Edit: |
@sarim How exactly do you use the |
Sorry I didn't update this issue. But eventually I got it to work. Not sure if vscode updates (now I'm at 1.46.1) fixed it. I'm running symfony projects inside wsl2, and coding via VSCode remote. Symfony in its debug generates links to exact file and line for error / warning / emitted events etc... <a href="vscode://file//wsl$/Ubuntu-18.04/home/gittu/sploy/vendor/easycorp/easyadmin-bundle/src/Controller/AdminControllerTrait.php:63:0" title="App\Controller\Admin\DeployController">DeployController :: indexAction</a> Symfony gets the pattern for generating the URL from a config value. $ cat /etc/php/7.2/mods-available/xdebug.ini
zend_extension=xdebug.so
xdebug.file_link_format="vscode://file//wsl$/Ubuntu-18.04%f:%l:0" With this now it works. Though it always opens the file in a new window (where I want it to open it inside the project window) but for now I can live with it. |
Thanks, I'm closing the issue then. |
I am hoping this issue could have another look. While URLs like
|
@hcoat To open a remote window, don't use |
Issue Type: Bug
vscode://file///wsl$/Ubuntu-18.04/home
vscode://file/\wsl$/Ubuntu-18.04/home
Both shows a error with
\wsl$\Ubuntu-18.04\home
does not seem to exist anymore on disk.vscode://file////wsl$/Ubuntu-18.04/home
vscode://file/////wsl$/Ubuntu-18.04/home
vscode://file//////wsl$/Ubuntu-18.04/home
vscode://file/\\wsl$/Ubuntu-18.04/home
vscode://file/\\wsl$/Ubuntu-18.04/home
vscode://file/\\\wsl$/Ubuntu-18.04/home
Nothing happens for these ^
VS Code version: Code 1.45.1 (5763d90, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.104-microsoft-standard
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Extensions (15)
The text was updated successfully, but these errors were encountered: