Visual Studio Code follow link (Ctrl + click) opens it in the editor instead of opening it in the browser

Viewed 1172

When a file opened in Visual Studio Code, it contains a link, and it is possible to follow the link with Ctrl + click.

Usually the link is opened with the default browser, but for the past few weeks the link have been downloaded and displayed in Visual Studio Code.

Is there a way to get the default behavior back?

I use Visual Studio Code on Kubuntu.

2 Answers

This alternative way helped me:)

Go to Google Chrome → SettingsDefault browserSet Google Chrome as default browser.

The action needed to fix this will vary based on file type that has the link.

For Markdown files try the following:

In Visual Studio Code: menu FilePreferencesSettings → search for 'link' → under Extensions, find Markdown → under "Markdown, Links:Open Location", select the gear icon and click "Reset Settings".

If not Markdown, explore other categories and find similar settings based on the installed extensions.

Related