Chromium Code Reviews

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/GetterSetterCompletionProposal.java

Issue 69883003: Issue 249. Show documentation for highlighted code completion. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/GetterSetterCompletionProposal.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/GetterSetterCompletionProposal.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/GetterSetterCompletionProposal.java
index 47ac51ecfb5194fca994179b769af1f5170dc726..102eb3099220a461306eefa66806a017e7689f7b 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/GetterSetterCompletionProposal.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/completion/GetterSetterCompletionProposal.java
@@ -114,12 +114,13 @@ public class GetterSetterCompletionProposal extends DartTypeCompletionProposal i
public GetterSetterCompletionProposal(Field field, int start, int length, boolean isGetter,
int relevance) throws DartModelException {
super(
- "", field.getCompilationUnit(), start, length, DartPluginImages.get(DartPluginImages.IMG_MISC_PUBLIC), getDisplayName(field, isGetter), relevance); //$NON-NLS-1$
+ "", field.getCompilationUnit(), start, length, DartPluginImages.get(DartPluginImages.IMG_MISC_PUBLIC), getDisplayName(field, isGetter), relevance, null); //$NON-NLS-1$
Assert.isNotNull(field);
fField = field;
fIsGetter = isGetter;
- setProposalInfo(new ProposalInfo(field));
+ // TODO(scheglov) implement documentation comment
+// setProposalInfo(new ProposalInfo(field));
}
@Override

Powered by Google App Engine