I can't open urls in my files in VS Code any more. Everything works to suggest the functionality is still there except for the part where it opens a link in my browser. The link changes color, and a popover shows:
But nothing happens when I click?
I've changed my default browser to Firefox and it works. So it must be a problem with Chrome.
I tried the following debug steps, taken from a GitHub discussion. 1
window.open("http://www.bing.com")
If the above steps don't open Bing in Chrome, try switching your default browser to Firefox, and then do the steps again.
Others have reported that when switching the default browser back to Chrome,
Ctrl + [click] on a link in VS Code now opens the link in Chrome, just as it should.
1 When I tried the steps, I got Error: Prevented call to window.open(). Use IOpenerService instead!