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

vscode: fix MarkdownString for documentation #12685

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes: #12684.

The pull-request fixes an issue where CompletionItems using MarkdownString for documentation were not being rendered previously. The change makes sure to properly convert the object.

How to test

  1. start the application with the test plugin
  2. open or create a .txt file
  3. trigger completion items (ex: ctrl+space) - press again to show to documentation
  4. confirm the documentation is rendered
fix-completions.mp4

Review checklist

Reminder for reviewers

The commit fixes the conversion of `MarkdownString` which failed to
render previously.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Jul 6, 2023
@vince-fugnitto vince-fugnitto self-assigned this Jul 14, 2023
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.

Looks good to me 👍

@vince-fugnitto vince-fugnitto merged commit 8542447 into master Jul 25, 2023
9 checks passed
@vince-fugnitto vince-fugnitto deleted the vf/fix-documentation-completion branch July 25, 2023 12:37
@github-actions github-actions bot added this to the 1.40.0 milestone Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Markdown Content not displayed in completion resolve from language server
2 participants