vscode-extensions-open-in-browser icon indicating copy to clipboard operation
vscode-extensions-open-in-browser copied to clipboard

Firefox Developer Edition

Open benwcaler opened this issue 6 years ago • 15 comments

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.

benwcaler avatar Jan 29 '19 21:01 benwcaler

same issue

massimo-cassandro avatar Feb 21 '19 18:02 massimo-cassandro

same here

kristaponis avatar Feb 27 '19 07:02 kristaponis

Fixed by changing standardName: "FirefoxDeveloperEdition", to standardName: "Firefox Developer Edition", in config.js

massimo-cassandro avatar Jul 13 '19 10:07 massimo-cassandro

I will check it out and fix it. thanks all 😄

SudoKillMe avatar Aug 09 '19 09:08 SudoKillMe

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"

Ngranger avatar Sep 04 '19 04:09 Ngranger

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

domas-v avatar Jan 30 '20 20:01 domas-v

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:

  1. Line 33: change the standardName property from "FirefoxDeveloperEdition" to "C:\\Program Files\\Firefox Developer Edition\\firefox.exe".
  2. Line 64: add firefoxDeveloperItem as a new element to the array.
  3. 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.

RaRodRos avatar Apr 17 '20 12:04 RaRodRos

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

YoungCR avatar Jul 21 '20 19:07 YoungCR

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.

benwcaler avatar Jul 21 '20 19:07 benwcaler

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".

verpixelt avatar Sep 28 '20 19:09 verpixelt

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.

benwcaler avatar Sep 28 '20 19:09 benwcaler

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'] };

joshormond avatar Sep 28 '20 19:09 joshormond

Thanks @joshormond that deffo did the trick.

verpixelt avatar Oct 02 '20 12:10 verpixelt

@joshormond Thanks!

This fixed the issue for me.

taha-crafter avatar Apr 09 '21 07:04 taha-crafter

I figured out this "fix", then looked here and found that @joshormond had suggested same in 2020. 👍

13zebras avatar Apr 18 '21 03:04 13zebras