vscode-extensions-open-in-browser
vscode-extensions-open-in-browser copied to clipboard
Can not work on chrome
Can not work on chrome, my os is manjaro linux
The start command of Google Chrome in manjaro is google-chrome-stable
, so you need to edit the file~/.vscode-oss/extensions/techer.open-in-browser-2.0.0/out/config.js
, and change the google-chrome
to google-chrome-stable
in line 12 around.
thanks,i have do it at last week, but forget to post new issue. thank you very much,you are a kind gay;
我和中国人说什么英语,我的天
Q: How to make Big Sur Microsoft Edge working?
A:
I was able to locate the config.js file as in,
/Users/myusername/.vscode/extensions/techer.open-in-browser-2.0.0/out/config.js
modify the definition of edgeItem
as follows,
const edgeItem = {
description: "Windows, Mac",
detail: "A modern browser aiming to replace ie",
label: "Microsoft Edge",
standardName: platform === 'win32'
? 'MicrosoftEdge'
: (platform === 'darwin'
? 'Microsoft Edge'
: 'microsoft-edge'),
acceptName: ['edge', 'msedge', 'microsoftedge', 'Microsoft Edge', 'microsoft edge', 'microsoft-edge']
};
and then add the launch command (for example after line of browsers.push(safariItem);
) in the bottom of the file,
browsers.push(edgeItem);
Reload files in VSCode, or quite and launch VSCode again to take effect.
The start command of Google Chrome in manjaro is
google-chrome-stable
, so you need to edit the file~/.vscode-oss/extensions/techer.open-in-browser-2.0.0/out/config.js
, and change thegoogle-chrome
togoogle-chrome-stable
in line 12 around.
Hello, I am using Manjaro KDE Plasma and I did this but still it shows error.