As the title has said.The default browser is IE,but I want another browser to be used.How can I do for this?
Asked
Active
Viewed 1.7k times
5
-
1It is already answered , http://stackoverflow.com/questions/79954/visual-studio-opens-the-default-browser-instead-of-internet-explorer – Sdp Apr 16 '17 at 03:00
-
10visual studio code is not the same as visual studio.Thank you for your answer. – Anne Apr 16 '17 at 04:20
-
1Possible duplicate of [Visual Studio opens the default browser instead of Internet Explorer](http://stackoverflow.com/questions/79954/visual-studio-opens-the-default-browser-instead-of-internet-explorer) – cosmoonot Apr 16 '17 at 06:04
-
you can find the solution [her](https://stackoverflow.com/questions/30039512/how-to-view-my-html-code-in-browser-with-visual-studio-code) this solution used the tasks.json file – Amine barrima Feb 16 '18 at 09:45
2 Answers
3
You can change Windows Default setting programs to your Browser.
Windows7 :
Controlpanel --> Programs-->set default programs

Helen Anita
- 143
- 1
- 2
- 12
-
1Chrome is my default browser, but VS code doesn't care. It still opens in Edge, which doesn't let me simply right click and inspect element and read console logs. – Altimus Prime Aug 26 '19 at 00:52
-
4This answer is correct for changing the Windows default browser. It does not answer the question of how to change the default browser within Visual Studio Code – samp Mar 30 '20 at 16:13
-1
- Install extension qinjia.view-in-browser.
- Press F1, find parameter 'view-in-browser.customBrowser'.
- Select your browser while editting.

Sergiusz Kriwobokow
- 89
- 1
- 2
- 5