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

Handle unsupported file URI schemes more reliably #342

Closed
daviwil opened this issue Jan 18, 2017 · 0 comments
Closed

Handle unsupported file URI schemes more reliably #342

daviwil opened this issue Jan 18, 2017 · 0 comments
Labels
Issue-Bug A bug to squash.
Milestone

Comments

@daviwil
Copy link
Contributor

daviwil commented Jan 18, 2017

VS Code keeps adding new file URI schemes that somehow end up getting passed through to our language server (usually a bug on their end). The short-term fix is always to add the unexpected URI to Workspace.IsPathInMemory but I think that since this keeps happening, we need an official mechanism to handle any unexpected URI scheme.

Fixing this will require more robust checks in all of the code that interacts with the Workspace so I'm going to hold off on this work until at least 0.9.1.

@daviwil daviwil added the Issue-Bug A bug to squash. label Jan 18, 2017
@daviwil daviwil added this to the 0.9.1 milestone Jan 18, 2017
daviwil added a commit that referenced this issue Jan 18, 2017
Today's VS Code Insiders release has started sending file requests with a
file scheme of 'git' which causes a crash in our language server.  This is
a temporary fix until we add more robust file URI scheme handling with the
fix to issue #342.
daviwil added a commit that referenced this issue Jan 18, 2017
Today's VS Code Insiders release has started sending file requests with a
file scheme of 'git' which causes a crash in our language server.  This is
a temporary fix until we add more robust file URI scheme handling with the
fix to issue #342.
@daviwil daviwil modified the milestones: 0.10.0, 0.9.1 Jan 29, 2017
@daviwil daviwil modified the milestones: 0.10.0, 0.10.1, 0.10.2 Mar 14, 2017
@daviwil daviwil modified the milestones: 0.10.2, April 2017 Apr 4, 2017
@daviwil daviwil modified the milestones: June 2017, 1.5.0 Oct 27, 2017
daviwil added a commit to daviwil/PowerShellEditorServices that referenced this issue Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

1 participant