I'm a complete Sublime newbie so I may not fully grok e.g. bundles vs packages vs plugins in Sublime, but I couldn't find a clear answer to this in the manuals.
TM Bundle == ST Package (collection of plugins, snippets, options, language defs, etc)
TM Command == ST Plugin: python class derived from sublimeplugin.Plugin (or subclasses thereof). Interacts with ST's API and is one of the building blocks of a package (together with snippets, options, menus, etc).Packge
, language def
, menu file
, build system
1. In the E Texteditor bundles show up (among other things) as menus with commands. I can't find similar bundles-based menus in Sublime -- are these commands still there? For example, is there a way I can tell whether Sublime will help me cleaning up my HTML via a call out to tidy.
Only plugins ( == "commands" in TM) that are defined in the HTML package will be available to you (ok, to be exact: plugins defined for the text.html scope; they could be placed anywhere under your /Packages folder). The plugin could show up in a menu under Tools/Packages if it included a .sublime-menu file to that effect, but to my knowledge not many of them do at the moment. I you want to check out whether a certain plugin is available, you can look directly at the Packages/<package_name> folder. You can access this folder through the menu item Preferences/Browse packages...
That said, some users have created more sophisticated ways of "introspecting" your packages, if you will: look for the user "sublimator" on BitBucket.org, for example.
2. Similarly, in E, I can browse a bundle's keybindings in the UI so I see what is available. Is there some way in the UI to see the key-bindings that are available? For example, some way to tell me (without browsing the bundle code) that in an HTML document, hitting a and tab will insert a hyperlink snippet?
I reckon someone has done this already in a plugin... You could look at the Sublime Text repo on Google Code (easy to find on Google) or the aforementioned user in BitBucket.
Hope this helps! Anyone, correct me if I'm wrong!
EDIT: Oh, how I wish this board was sublimeoverflow.com...