Change default web browser in Visual Studio

前端 未结 4 1868
野性不改
野性不改 2021-02-12 01:49

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

相关标签:
4条回答
  • 2021-02-12 02:04

    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.

    0 讨论(0)
  • 2021-02-12 02:16

    To change the source default editor:

    Tools -> Options -> Search for "browser" -> View Source in "external editor" -> put the path to your preferred.

    0 讨论(0)
  • 2021-02-12 02:28

    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/"
    
    0 讨论(0)
  • 2021-02-12 02:29

    Click the drop down icon next to "Start" project button and choose your web browser

    0 讨论(0)
提交回复
热议问题