<p dir="auto">In language-javascript/snippets, there's an "f" snippet for an anonymous function, and language-todo/snippets has "fix" for a "fix me" comment. To see this:</p>
<ol dir="auto">
<li>Open a javascript file</li>
<li>Type "f"</li>
</ol>
<p dir="auto">The former should be offered as the first suggestion, as it's the best match, but instead it appears 6th on the list, behind fix, for, forin, forof and fun.</p>
<p dir="auto">When writing javascript code a common snippet is <code class="notranslate">f</code> that expands into an anonymous function.<br>
However if I type <code class="notranslate">f</code> the topmost and selected suggestion is <code class="notranslate">fix</code>. And the <code class="notranslate">f</code> snippet is number 6 in the list. If I was looking for <code class="notranslate">fix</code> I could add the letter 'i' to select that one however as <code class="notranslate">f</code> is the whole snippet trigger I am forced to press down 5 times to select it.</p>
<p dir="auto">When returning the list of suggestions it should be sorted so it puts exact matches to the top.</p>