TOADLING How is TextMate's snippet support significantly better than BBEdit's Clippings? TextMate has a slight advantage in that it recognizes scope. And it comes with more "factory-installed" snippets, but other than that I prefer BBEdit's implementation. (1) BBEdit allows you to save Clippings as individual text files rather than having to edit them in something like TextMate's Bundle Editor, so you can use the power of the text editor to edit your Clipping library. It's also easy to save new clippings in BBEdit: just select some text and choose "Save as Clipping" from the Clippings menu. (2) You don't have to remember obscure tab-completion names to insert a snippet. Just type the first few letters (as many or as few as you want) and hit your key combo to auto-complete the Clipping. If BBEdit matches several Clippings to what you've typed, it pops up a selection window that let's you further refine the search, select the one you want manually, or start over and insert something completely different. (3) BBEdit's Clippings can insert all kinds of dynamic data, even the output of scripts, just like TextMate. (4) In TextMate, sometimes I remember having seen a command, but I can't find it in that insanely-organized Bundle menu and the search capability is horrendous (perhaps because it limits searches by the current scope?). Anyway, after about 10 minutes of looking, I give up and launch BBEdit and find what I'm looking for right away. (Version 8.7) |