You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我通过修改代码解决了这个问题,进入目录"%USERPROFILE%.vscode\extensions\qinjia.view-in-browser-0.0.5\out\src",找到文件"extension.js",删除43-46行,
if (e.path) {
openFile(e.fsPath, customBrowser);
}
else {
以及55行,
}
个人分析为升级之后e.path不能用了报错,我自己调试发现问题出在这里,按照如上述方法解决之后能满足个人使用,希望能帮到你
My English is poor, but I also want to help more people. Open the folder "%USERPROFILE%.vscode\extensions\qinjia.view-in-browser-0.0.5\out\src",edit the file "extension.js",
Delete forty-three to forty-six rows.like this
if (e.path) {
openFile(e.fsPath, customBrowser);
}
else {
Delete the fifty-fifth row too
}
Then restart VSCode,please try!
Issue Type: Bug
viewInBrowser 快捷键 ctrl + F1 启动 默认浏览器失败!
Extension version: 0.0.5
VS Code version: Code 1.24.1 (24f62626b222e9a8313213fb64b10d741a326288, 2018-06-13T17:51:32.889Z)
OS version: Windows_NT x64 10.0.14393
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: