Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio code 'open in browser' extension failed

I have installed Open in browser visual studio extension. But when I try to open the browser by shortcut Alt+B. It fails showing the following:

Running the contributed   
command:'extension.openInDefaultBrowser' failed.

Please help if there's any solution.

like image 445
Adil Saju Avatar asked Oct 10 '18 11:10

Adil Saju


1 Answers

Go to settings --> Extensions --> Open in Browser and set a default browser. In my case I have set it to "chrome" (it can be "firefox" too), so it opens in chrome every time I use the extension.

enter image description here

like image 167
Mahesh H Viraktamath Avatar answered Oct 17 '22 23:10

Mahesh H Viraktamath