vscode-extensions-open-in-browser
vscode-extensions-open-in-browser copied to clipboard
Firefox Developer Edition
This is not working with Firefox Developer Edition. It will open my default browser, but whether FDE is set as default or not it will not open.
same issue
same here
Fixed by changing standardName: "FirefoxDeveloperEdition", to standardName: "Firefox Developer Edition", in config.js
I will check it out and fix it. thanks all 😄
As of v2.0.0, the Alt + B option doesn't open Firefox Developer Edition as configured on my Windows 10 machine it merely opens the default installation which in my case the beta version of Firefox. I have the the VS Code preference set as follows:
"open-in-browser.default":"Firefox Developer Edition"
For me, I get the errror: "Open browser failed!!! Please check if you have if you have installed the browser correctly" Even though I have the browser as my default. I'm on Ubuntu
Currently the extension states in its description that Firefox Developer can only be launched from Mac.
Nonetheless (at least if you are in Windows) it's possible to edit the config.js file (located in [unit]:\Users\[your_user_name]\.vscode\extensions\techer.open-in-browser-2.0.0\out\config.js if you're using Windows) and make the next changes in order for it to work:
- Line 33: change the
standardNameproperty from"FirefoxDeveloperEdition"to"C:\\Program Files\\Firefox Developer Edition\\firefox.exe". - Line 64: add
firefoxDeveloperItemas a new element to the array. - Restart Vs Code for the changes to make effect.
I suppose this can be equally fixed in Linux, using the pertinent addresses of the files, but I haven't tried.
Having the same issues on MacOS 10.15.5. Tried changing the standardName: "Firefox Developer Edition" with no success. I had no issues getting Open In Browser to launch FDE on my other mac running MacOS 10.13
Having the same issues on MacOS 10.15.5. Tried changing the standardName: "Firefox Developer Edition" with no success. I had no issues getting Open In Browser to launch FDE on my other mac running MacOS 10.13
I am on MacOS 10.15.6 and it is working. Not sure when, but open in browser was updated to 2.0.0 and Firefox Developer Edition works out of the box now. You used to have to changed the config file for it to recognize FDE. That is no longer necessary.
If you have the latest version of open in browser and have Firefox developer edition as you default browser it should work. If you have a different browser set as default like I do (Safari), then you can go into the VSCode settings and there is a setting for open in browser specifically that will let you tell it what to use as your default browser. It will take any of the following strings as input to recognize FDE: acceptName: ['firefox developer', 'fde', 'firefox developer edition'] as found on line 42 of config.ts in open in browser 2.0.0. I have not checked if those are case sensitive, but based on @Ngranger 's comment above, I would assume that it is. 'fde' is working for me. I can't imagine that the OS version would change anything here. Hope that helps.
Experiencing the same issue: macOS 10.15.6, VS Code 1.49.2, open in browser v2.0.0 and Firefox Developer Edition 82.0b3 + "open-in-browser.default": "fde".
Experiencing the same issue: macOS 10.15.6, VS Code 1.49.2, open in browser v2.0.0 and Firefox Developer Edition 82.0b3 +
"open-in-browser.default": "fde".
I am running all the same versions as you except for FDE - I have 82.0b4. Everything is working fine for me.
Try this:
Find your VSCode Extensions folder; open the open in browser folder ( should be "techer.open-in-browser-2.0.0"; src; config.ts line 42. That should be the line where the acceptName kvp is found. Make sure it says 'fde'.
Edit: Be sure your document is saved before opening in the browser.
Experiencing the same issue: macOS 10.15.6, VS Code 1.49.2, open in browser v2.0.0 and Firefox Developer Edition 82.0b3 +
"open-in-browser.default": "fde".
Go to ~/.vscode/extensions/techer.open-in-browser-2.0.0/out/config.js Edit the const firefoxDeveloperItem's standardName to be "Firefox Developer Edition" That should then allow it open the correct application.
const firefoxDeveloperItem = { description: "Mac", detail: "A fast, smart and personal web browser", label: "Mozilla Firefox Developer Edition", standardName: "Firefox Developer Edition", acceptName: ['firefox developer', 'fde', 'firefox developer edition'] };
Thanks @joshormond that deffo did the trick.
@joshormond Thanks!
This fixed the issue for me.
I figured out this "fix", then looked here and found that @joshormond had suggested same in 2020. 👍