SudoKillMe / vscode-extensions-open-in-browser

81 stars 42 forks source link

How can I change default browser as brave? #82

Open espressom opened 2 years ago

espressom commented 2 years ago

I tried to put the "brave" at the setting panel, but It doesn't seem to work correctly. If there any plans to update regarding this problem, please let me know. Thank you.

PabloPenia commented 1 year ago

I have the same problem, on linux using brave, there is a way to setup path to my browser (brave)?

HaWr1 commented 1 year ago

I am also looking for a solution.

ElijahLynn commented 1 year ago

I have this same issue on Linux. And just figured out that it isn't supported as it isn't in the source code. This file needs to be updated.

https://github.com/SudoKillMe/vscode-extensions-open-in-browser/blob/6a0972f8019ba26f7ac2cc3a184a3e3ca44b4940/src/config.ts#L1-L90

ElijahLynn commented 1 year ago

I'm using this one successfully with Brave on Linux for now. https://marketplace.visualstudio.com/items?itemName=Wscats.cors-browser (https://github.com/Wscats/browser-preview), yet it doesn't seem to have a working keyboard shortcut for me, supposed to be ctrl + F1.

ElijahLynn commented 1 year ago

This one works with Brave too https://marketplace.visualstudio.com/items?itemName=peakchen90.open-html-in-browser#overview (https://github.com/peakchen90/vscode-open-in-default-browser) but is based on a local server, so e.g. http://localhost:52330/projects/index.html and it does have a working shortcut for me ctrl +1.