Sort snippets alphabetically when listing all snippets

Bug #774920 reported by allait
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UltiSnips
Fix Released
Wishlist
Unassigned

Bug Description

Snippets show up when listing in random order, which is hard to navigate.

Related branches

Revision history for this message
allait (allait) wrote :
Revision history for this message
SirVer (sirver) wrote :

I set this to incomplete because I can see two schools of thought here:

1) Having the snippets appear in the order you define them in the file
2) Having the snippets appear in alphabetical order.

Note that generally speaking this only applies to non regular-expression triggers. reg-exp triggers are usually hard to list.

I prefer 2) and therefore vote to implement this as suggest in the OP. I am against providing an option as the feature creep starts alread spreading over UltiSnips.

So, +1 for 2).

Changed in ultisnips:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for UltiSnips because there has been no activity for 60 days.]

Changed in ultisnips:
status: Incomplete → Expired
Revision history for this message
SirVer (sirver) wrote :

as there where no more suggestions, sorting snippets alphabetically is it then. So the patch of allait can be applied.

Changed in ultisnips:
status: Expired → Triaged
importance: Undecided → Wishlist
SirVer (sirver)
Changed in ultisnips:
milestone: none → 1.4
Revision history for this message
SirVer (sirver) wrote :

Fixed in r296.

Changed in ultisnips:
status: Triaged → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Release in 1.4.

Changed in ultisnips:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.