Skip to content

Cherry pick PR 1750 to legacy/1.x branch, fix more issues #880

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

rkeithhill
Copy link
Contributor

I think I've worked around the compilation issue by replacing HttpUtility.EncodePath() with Uri.EscapeDataPath(). The latter API is a much closer match to the RFC 3986 spec that VSCode uses.

Also fixed another bug in the ReferenceCodeLensProvider where it was not properly creating a DocumentUri based on my abusive file name of foo's_~#-[@] +,;=%.ps1. That filename now works when using the symbol ref code lens.

@rkeithhill
Copy link
Contributor Author

Note - this PR will need to be merged back to master as it has a new bug fix and some new tests.

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

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

looking good. @rkeithhill are you planning on doing the porting to the master branch or would you like me to do it?

@rkeithhill
Copy link
Contributor Author

It doesn't matter too much one way or the other to me. Let me know what you'd prefer.

@rkeithhill
Copy link
Contributor Author

I think this PR is good to go. Definintely want to get this in for 1.12.

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 :) one suggestion

Co-Authored-By: rkeithhill <r_keith_hill@hotmail.com>
@TylerLeonhardt
Copy link
Member

I've cherry-picked most of the changes... this has put your PR in a bad state, unfortunately :(

@rkeithhill rkeithhill closed this Mar 20, 2019
@rkeithhill rkeithhill reopened this Mar 20, 2019
@TylerLeonhardt
Copy link
Member

I will squash this. since it has additional changes on top.

@TylerLeonhardt TylerLeonhardt merged commit 73e8e6e into legacy/1.x Mar 20, 2019
@TylerLeonhardt TylerLeonhardt deleted the rkeithhill/cherry-pick-unable-open-files-pr branch April 1, 2019 16:40
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.

3 participants