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

Render hover messages according to LSP specification #2856

Merged
merged 1 commit into from
Oct 26, 2016

Conversation

kaloyan-raev
Copy link
Contributor

What does this PR do?

If the hover message consists of multiple MarkedStrings then they should be joined via double newline, so they are rendered as separate Markdown paragraphs.

If a MarkedString has the language property provided then it should be rendered as a Markdown code block.

What issues does this PR fix or reference?

Previous behavior

hover-before

New behavior

hover-after

Signed-off-by: Kaloyan Raev [email protected]

If the hover message consists of multiple MarkedStrings then they should
be joined via double newline, so they are rendered as seperate Markdown
paragraphs.

If a MarkedString has the `language` property provided then it should be
rendered as a Markdown code block.

Signed-off-by: Kaloyan Raev <[email protected]>
@kaloyan-raev kaloyan-raev changed the title Render hover messages according to LSP specification. Render hover messages according to LSP specification Oct 21, 2016
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@kaloyan-raev kaloyan-raev mentioned this pull request Oct 21, 2016
34 tasks
@benoitf
Copy link
Contributor

benoitf commented Oct 21, 2016

ci-build

@benoitf benoitf added kind/enhancement A feature request - must adhere to the feature request template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Oct 21, 2016
@codenvy-ci
Copy link

Build # 759 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/759/ to view the results.

@vparfonov vparfonov merged commit cc5fe6e into eclipse-che:master Oct 26, 2016
@kaloyan-raev kaloyan-raev deleted the hover branch October 26, 2016 19:13
@bmicklea bmicklea added this to the 5.0.0 milestone Jan 11, 2017
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
If the hover message consists of multiple MarkedStrings then they should
be joined via double newline, so they are rendered as seperate Markdown
paragraphs.

If a MarkedString has the `language` property provided then it should be
rendered as a Markdown code block.

Signed-off-by: Kaloyan Raev <[email protected]>
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants