Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/LazyDartCompletionProposal.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/LazyDartCompletionProposal.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/LazyDartCompletionProposal.java |
index 4db78dc5ee337e86ae5ed0b815e7b11572098b59..0f6c36982e01c85d1cf16f8e5e74f2898bc7712b 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/LazyDartCompletionProposal.java |
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/LazyDartCompletionProposal.java |
@@ -13,11 +13,13 @@ |
*/ |
package com.google.dart.tools.ui.internal.text.completion; |
+import com.google.dart.engine.element.Element; |
import com.google.dart.tools.core.completion.CompletionProposal; |
import com.google.dart.tools.core.formatter.DefaultCodeFormatterConstants; |
import com.google.dart.tools.core.model.CompilationUnit; |
import com.google.dart.tools.core.model.DartProject; |
import com.google.dart.tools.ui.DartToolsPlugin; |
+import com.google.dart.tools.ui.internal.text.editor.DartTextHover; |
import com.google.dart.tools.ui.text.dart.DartContentAssistInvocationContext; |
import com.google.dart.tools.ui.text.editor.tmp.JavaScriptCore; |
import com.google.dart.tools.ui.text.editor.tmp.Signature; |
@@ -393,7 +395,9 @@ public class LazyDartCompletionProposal extends AbstractDartCompletionProposal { |
} |
protected ProposalInfo computeProposalInfo() { |
- return null; |
+ Element element = fProposal.getElement(); |
+ String html = DartTextHover.getElementDocumentationHtml(element); |
+ return new ProposalInfo(fProposal, html); |
} |
protected int computeRelevance() { |