One of the new features is the Command Palette (accessible via the Tools menu), which provides a keyboard driven way to select commands usually relegated to the menu - it's especially useful for switching the currently active syntax highlighting mode. It's driven by *.sublime-commands files, of which there's currently only one, in the Default package. It's fairly spartan; I'm more than happy to receive any patches here.
Also new in this build is the long awaited quick panel API, allowing plugins to present lists to the user. A short example that presents two items, each with 2 bits of secondary information to the user:
- Code: Select all
import sublime, sublime_plugin
def callback(self, index):
print "selected index:", index
items = [["Item 1", "Subtext 1a", "Subtext 1b"], ["Item 2", "Subtext 2a", "Subtext 2b"]]