2

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:

screenshot of ctrl+click

But nothing happens when I click?

EDIT: I've changed my default browser to Firefox and it works. So it must be a problem with Chrome. Possibly with my Chrome extensions?

I followed the following steps to debug (I read about it on a github discussion on this topic):

  • Opening Toggle Developer Tools (VS Code toolbar > Help)
  • select "Console"
  • type window.open("http://www.bing.com")
  • hit Enter

I get this error: Error: Prevented call to window.open(). Use IOpenerService instead!

JimmyTheCode
  • 3,783
  • 7
  • 29
  • 71

1 Answers1

3

If you have multi cursor mode enabled it doens't work anymore:

mode

If it says go to alt click it is enabled.

Edit: I just noticed this isn't the solution for you. This might be the solution for other people if you have this:

image

Here is a second solution. This needs to be enabled:

solution 2

Thirth solution:

Change your standard browser to a different one and back

Victor Pieper
  • 540
  • 2
  • 17