<p dir="auto">Bring up the command palette and search "Install". Results:</p>
<ul dir="auto">
<li>Find And Replace: Select All</li>
<li>Application: Install Update</li>
<li>Settings View: Uninstall Themes</li>
<li>Settings View: Uninstall Packages</li>
<li>Settings View: Install Packages and Themes</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/629141/7264772/fab661d6-e865-11e4-95b9-7f0e6993f985.png"><img src="https://cloud.githubusercontent.com/assets/629141/7264772/fab661d6-e865-11e4-95b9-7f0e6993f985.png" alt="untitled-1" style="max-width: 100%;"></a></p>
<p dir="auto">I'd say that we should mirror Sublime's technique, where:</p>
<ul dir="auto">
<li>We only match the action name (or we weight the name higher)</li>
<li>An exact word match (versus a partial match) should be weighted higher ("<strong>Install</strong> Packages" should be higher than "Un<strong>install</strong> Packages")</li>
<li>Built in packages should be weighted higher?</li>
<li>Application: Install Update should probably be intentionally weighted lower, as users will more often want to install packages I imagine</li>
</ul>
<p dir="auto">When searching for commands in the palette, the order is usually baffling (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28464849" data-permission-text="Title is private" data-url="https://github.com/atom/command-palette/issues/2" data-hovercard-type="issue" data-hovercard-url="/atom/command-palette/issues/2/hovercard" href="https://github.com/atom/command-palette/issues/2">#2</a>). Short of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46722019" data-permission-text="Title is private" data-url="https://github.com/atom/command-palette/issues/18" data-hovercard-type="issue" data-hovercard-url="/atom/command-palette/issues/18/hovercard" href="https://github.com/atom/command-palette/issues/18">#18</a>, which requires use in order to get tuned, I propose ordering the commands by how well they match the search term. Ideally if I type a word, if it exists, unbroken, and perhaps in it's entirety, I would expect to see those results above F<strong>in</strong>d And Replace: <strong>S</strong>elec<strong>t All</strong></p>
<p dir="auto">I do like the idea of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46722019" data-permission-text="Title is private" data-url="https://github.com/atom/command-palette/issues/18" data-hovercard-type="issue" data-hovercard-url="/atom/command-palette/issues/18/hovercard" href="https://github.com/atom/command-palette/issues/18">#18</a>, but one can argue about the UX, a la the <a href="http://blogs.msdn.com/b/jensenh/archive/2006/03/31/565877.aspx" rel="nofollow">adaptive menus in Office 2000</a> wherein shuffling around commands should be done with care. This proposes to keep a fixed order for any given search term.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5297556/6005698/fcabbe68-aad1-11e4-93ad-988e60b6598c.png"><img src="https://cloud.githubusercontent.com/assets/5297556/6005698/fcabbe68-aad1-11e4-93ad-988e60b6598c.png" alt="image" style="max-width: 100%;"></a></p>