Bug 277691 - Constructor completion should boost relevance of subtypes.
Change-Id: I00fcdcf0fd4f38380a4664f41fd95b564bf95f4c
diff --git a/4.15/images/subtype-code-completion.png b/4.15/images/subtype-code-completion.png
new file mode 100644
index 0000000..e5f5e40
--- /dev/null
+++ b/4.15/images/subtype-code-completion.png
Binary files differ
diff --git a/4.15/jdt.html b/4.15/jdt.html
index a223784..13c2ceb 100644
--- a/4.15/jdt.html
+++ b/4.15/jdt.html
@@ -132,6 +132,24 @@
</td>
</tr>
+ <tr id="subtype-code-completion"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=277691 -->
+ <td class="title">Subtype code completion</td>
+ <td class="content">
+ Content Assists will prioritize displaying constructor completions whose
+ declaring type inherits from the expected return type within the
+ completion context. For example, completing on :
+
+ <p><code>Queue<String> queue = new L</code></p>
+
+ <p>
+ prioritizes constructors for <code><b>LinkedBlockingQueue</b></code>, <code><b>LinkedBlockingDeQueue</b></code> and <code><b>LinkedList</b></code>.
+ </p>
+ <p>
+ <img src="images/subtype-code-completion.png" alt=""/>
+ </p>
+ </td>
+ </tr>
+
<tr id="subword-code-completion"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=559496 -->
<td class="title">Subword code completion</td>
<td class="content">