I'm trying to learn about writing useful snippets for things I do often. It looks like I need some conceptual help. For example, I use this snippet:<br><br><tr><br> <td><cite>${1:title}</cite></td>
<br> <td>${2:composer}<br /><br> arr:${3:arranger}</td><br></tr><br></table>$0<br><br>with a tab trigger of </table><br><br>already helps a lot when building tables of works performed. It nicely gets rid of the ending </table> and inserts another set when I press tab at the end of the snippet.
<br><br>That worked so well I got greedy. I'd like to cause the snippet to force the title be Title Case. <br><br>A second interest is an easy way to get rid of the break and the arranger when the piece doesn't have one without killing the ability to use a tab trigger at the end. I can use lots of deletes. Is there a better way.
<br><br>Fascinating tool, TextMate.<br><br>Lewy<br><br>PS: I'm having trouble getting posts into the list. If this is a duplicate, please forgive me.<br>