Ordering items in the command palette window in Sublime Text 2

With fraxel on this: Assigning multiple fragments to bind a single key I was able to create a convenient pop-up menu to organize all my fragments in how Textmate works.

Is it possible to tell ST2 in what order I want them to appear in the overlay command palette? Right now they seem random, and I would like them to be able to establish some sort of order for them.

I can’t say how ST2 orders them.

More

All my fragments have file names that indicate their language: for example

  • PHP_mySQLLoop.sublime fragment
  • PHP_mySQLi.sublime fragment
  • HTML_basePage.sublime snippet
  • jQuery_ajax.sublime fragment

I use <description> , also standard:

  • JMR PHP, mySQL Loop
  • JMR PHP, mySQLi
  • JMR HTML Base Page
  • JMR jQuery, $ ajax

Changing PHP_mySQLi.sublime-snippet to PHP_1_mySQLi.sublime-snippet or 1_PHP_mySQLi.sublime-snippet did not affect or change its description.

I don't have a <scope> for any fragment at its point ... maybe I need ...? (This is on OS X, not sure if this has anything to do with it ...)

+4
source share

All Articles