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

CHE-5334. Fix hover state #5899

Merged
merged 1 commit into from Aug 8, 2017
Merged

CHE-5334. Fix hover state #5899

merged 1 commit into from Aug 8, 2017

Conversation

RomanNikitenko
Copy link
Member

What does this PR do?

Fix hover state

What issues does this PR fix or reference?

#5334

Changelog

Fix hover state

Signed-off-by: Roman Nikitenko rnikiten@redhat.com

@RomanNikitenko RomanNikitenko added the kind/bug Outline of a bug - must adhere to the bug report template. label Aug 3, 2017
@codenvy-ci
Copy link

@@ -363,7 +365,18 @@ public boolean canDo(InitializedLanguageServer element) {
@Override
public boolean handleResult(InitializedLanguageServer element, Hover hover) {
if (hover != null) {
result.getContents().addAll(hover.getContents());
List<Either<String, MarkedString>> contents =
Copy link
Contributor

@tsmaeder tsmaeder Aug 7, 2017

Choose a reason for hiding this comment

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

There is a constructor that makes a HoverDto out of a Hover in the generated HoverDto class. It may be simpler and safer to use that one.

Copy link
Member Author

Choose a reason for hiding this comment

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

@tsmaeder fixed, thank you!

@codenvy-ci
Copy link

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
@codenvy-ci
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants