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

Workaround for "deno:/" URL #65

Merged
merged 2 commits into from
Jul 19, 2021
Merged

Workaround for "deno:/" URL #65

merged 2 commits into from
Jul 19, 2021

Conversation

ayame113
Copy link
Owner

Hack: Intervene in the connection with lsp and rewrite the URL of the request.
Rewrite messages starting with deno: / to deno-code: //.
If this is not done, the path will be interpreted as a relative path and any error will occur.

image

This allows we to open virtual documents.

@ayame113 ayame113 merged commit dedbb63 into main Jul 19, 2021
@ayame113 ayame113 linked an issue Jul 19, 2021 that may be closed by this pull request
@ayame113 ayame113 deleted the hook-deno-url branch July 19, 2021 03:47
@ayame113 ayame113 changed the title hook deno uri Workaround for "deno:/" URL Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workaround for "deno:/" URL
1 participant