igorskyflyer / vscode-open-in-browser

🦕 A cross platform Visual Studio Code extension that opens HTML files in a browser of user's choice, which can be any browser installed on your computer. 🌐
https://marketplace.visualstudio.com/items?itemName=igordvlpr.open-in-browser
MIT License
4 stars 1 forks source link

[FR] Add an option in which you will be able to set browsers #7

Open kanlukasz opened 4 years ago

kanlukasz commented 4 years ago

I think it would be better if you let users make a choice.

Different systems have different environment variables, so in many cases your default settings may not work

Maybe options like this (in settings.json):

"openInBrowsers.browsers": [ 
    "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
    "C:/Program Files/Opera/launcher.exe"
],
"openInBrowsers.default": [ 
    "C:/Program Files/Opera/launcher.exe"
]

Sorry for no PR but i'm just php dev

igorskyflyer commented 4 years ago

Don't worry about it, every input is valuable. Thank you for your suggestion, I'll try to implement this also in the upcoming version.