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 to support inmemory:// #712

Merged
merged 2 commits into from
Jul 26, 2018

Conversation

TylerLeonhardt
Copy link
Member

This isn't the most elegant solution but it does the trick. I don't think we'll run into many (if not any) more Uri schemes we care about. When we run into another, then we can probably discuss a better solution.

Let me know if you feel differently.

Copy link
Contributor

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

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

Looking at this:

https://github.com/PowerShell/PowerShellEditorServices/search?l=C%23&q=untitled

Should we add a test to WorkspaceTests? Also, what about the DebugAdapter? Does it need to be updated or is debugging not a valid scenario for this use case?

Copy link
Contributor

@rjmholt rjmholt left a comment

Choose a reason for hiding this comment

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

LGTM!

@TylerLeonhardt
Copy link
Member Author

TylerLeonhardt commented Jul 26, 2018

@rkeithhill the debug scenario doesn't really apply here since Monaco can only listen to one service over stdio. The debug service isn't running.

That said, great find on the tests, I'll add some!

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

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

LGTM

@TylerLeonhardt TylerLeonhardt merged commit f3da699 into PowerShell:master Jul 26, 2018
@TylerLeonhardt TylerLeonhardt deleted the workaround-711 branch July 26, 2018 18:20
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.

4 participants