Skip to content

Add vscode: URI prefix to knownSchemes in links.ts #71416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

phaseOne
Copy link
Contributor

@phaseOne phaseOne commented Mar 28, 2019

I have not yet built and tested this branch. Should fix #71414.

@phaseOne
Copy link
Contributor Author

Well, this fixes the link output issue, but clicking it does not launch the vscode page.

@phaseOne phaseOne marked this pull request as ready for review March 28, 2019 20:36
@@ -5,7 +5,7 @@

import * as vscode from 'vscode';

const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'data:', 'vscode-resource:'];
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'data:', 'vscode:', 'vscode-resource:'];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add vscode-insiders so insiders links also work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@mjbvz mjbvz added this to the April 2019 milestone Apr 2, 2019
@mjbvz mjbvz merged commit df4988d into microsoft:master Apr 2, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 2, 2019

Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Markdown knownSchemes lacks vscode's own URI scheme
2 participants