Skip to content
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

allow vscode.open to be called with a string in additon to an Uri #141944

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

jrieken
Copy link
Member

@jrieken jrieken commented Feb 1, 2022

This PR helps with #140907 by allowing to call vscode.open with strings in addition to uri-instances. That helps to avoid encoding issues

@jrieken jrieken requested a review from bpasero February 1, 2022 14:35
@jrieken jrieken self-assigned this Feb 1, 2022
@jrieken jrieken added this to the February 2022 milestone Feb 1, 2022
@bpasero
Copy link
Member

bpasero commented Feb 1, 2022

We probably already have tests for vscode.open, so maybe we can add one for a string argument.

@bpasero
Copy link
Member

bpasero commented Feb 1, 2022

I think that test fails for web integration tests.

@jrieken
Copy link
Member Author

jrieken commented Feb 1, 2022

Yeah... Took me really long to understand, the issue that we don't transform that uri scheme, e.g we continue with file. I will tweak the command to only support http-links as strings, and I will remove the test because we cannot test http link opening

jrieken added a commit that referenced this pull request Feb 1, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2022
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.

2 participants