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

Fix: Display failed when text document content provider return empty string ('') #11474

Merged
merged 4 commits into from
Jul 29, 2022

Conversation

hyy215
Copy link
Contributor

@hyy215 hyy215 commented Jul 28, 2022

What it does

Fix:Display failed when text document content provider return empty string ('')
image

How to test

  1. install text-document-demo-0.0.1.vsix
  2. run 'Show Custom Text Document' command
  3. show empty string in editor
    image

Review checklist

Reminder for reviewers

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

It seems like my changes lead to the ECA check failing (they were authored using [email protected], which isn't covered by the ECA). Do you mind squashing the commits so that only your original email appears in the commit log?

@hyy215
Copy link
Contributor Author

hyy215 commented Jul 28, 2022

It seems like my changes lead to the ECA check failing (they were authored using [email protected], which isn't covered by the ECA). Do you mind squashing the commits so that only your original email appears in the commit log?

@msujew I amend the commit email.

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

@hyy215 please take a look at the build errors, The throw is also unreachable so we can safely remove it.

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Thanks, I can confirm that the issue exists on master and is addressed by these changes nicely 👍

@msujew msujew merged commit d971520 into eclipse-theia:master Jul 29, 2022
@hyy215 hyy215 deleted the vsx branch August 1, 2022 06:09
@vince-fugnitto vince-fugnitto added plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility labels Aug 25, 2022
@vince-fugnitto vince-fugnitto added this to the 1.29.0 milestone Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants