I\'m trying to change the default browser to Chrome at VS Community 2015, I\'m not talking about release browser, but the browser that opens when I press CTRL-Click. It opens au
This is how:
Right-click your html file -> Browse with -> Click on your favorite browser -> Set as Default.
Note that the next time you'd right-click your html file, you'd still see it says: "View in Browser (Internet Explorer)", but clicking it will actually browse with the default browser we set above.
After spending 5 minutes searching online and not finding what I want, I dug into the Visual Studio interface and found it:
The internal web browser in Visual Studio 2019 (at least), is in View => Other Windows => Web Browser
, or CTRL+ALT+R
on Windows.
EDIT: According to the Microsoft Documentation, you can send the web browser command to devenv
directly using nav
, i.e.
devenv /command "nav https://docs.microsoft.com/"
To change the source default editor:
Tools -> Options -> Search for "browser" -> View Source in "external editor" -> put the path to your preferred.
Click the drop down icon next to "Start" project button and choose your web browser