Issue Type: Bug
Since the update to 1.39, opening files running vscode://file/myfilepath does not work anymore: VS Code will open (if not started yet) correctly, but the file would not be opened.
VS Code version: Code 1.39.0 (9df03c6d6ce97c6645c5846f6dfa2a6a7d276515, 2019-10-09T06:58:04.439Z)
OS version: Windows_NT x64 10.0.18362
System Info
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 2592)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|31.71GB (14.34GB free)|
|Process Argv|--open-url -- vscode://file/C:/Development/Repositories/DevOps/AMP-On-Premise/RoutingSkillSetEntries.Page.al|
|Screen Reader|no|
|VM|0%|
Extensions (8)
Extension|Author (truncated)|Version
---|---|---
al-code-outline|and|1.0.19
gitlens|eam|10.1.1
docker-explorer|for|0.1.6
vscode-guid|hea|1.4.18
nav-cside-color-theme|mar|0.0.7
al|Mic|4.0.176004
powershell|ms-|2019.9.0
crs-al-language-extension|wal|1.1.17
Same here: since the 1.39.0 update , I can't use the url to open files in vscode.
@MagTun As a workaround, you can easily downgrade by installing the previous version https://update.code.visualstudio.com/1.38.1/win32-x64/stable (without uninstalling anything first)
Broken by https://github.com/microsoft/vscode/commit/8e99945e4165265cc889a11023dd74dd3756dd27#diff-fc6683f92061646324644f2cd92304cfR591
Thanks @joaomoreno for fixing this so quickly!
I run the .exe on the link given by @NKarolak to go back to the version 1.38.1, but vscode wasn't downgraded, so I still on 1.39. Is there a was to install a specific commit or to manually edit a vscode file?
@MagTun Did you remember to turn off automatic updates first (using the settings wheel at the bottom left corner), prior to installing?
Verification:
Developer: Open URLvscode://file/PATH/TO/FILE and replace /PATH/TO/FILE with a proper path to a fileThe file should open.
The problem is that when you call vscode://file/PATH/TO/FILE externally it doesnt work. For example if you paste that URL in browser it used to work and it doesnt in the current build.
@joaomoreno I'm on version 1.39.1 and still can't open files with the URL. Will the fix be released soon?
Yes, it will be fixed in 1.39.2, out now!
I have installed the 1.39.2 version and it's working again! Thanks a lot!
Most helpful comment
Yes, it will be fixed in 1.39.2, out now!