[SVN] Improving the smart typing behavior

thomas Aylott oblivious at subtlegradient.com
Mon Aug 28 05:18:10 UTC 2006


On Aug 27, 2006, at 9:09 PM, Mietek Bąk wrote:

> This can already be accomplished somewhat by creating a snippet  
> bound to '(', etc., containing:
> 	(${1:$TM_SELECTED_TEXT})
> Unfortunately, this breaks the other niceties of smart typing, such  
> as the overtyping of the second half of the smart pair, and so  
> isn't really a solution.

I have snippets for {} () '' "" & []
I have them bound to option-<whatever character>. Very handy for  
quickly surrounding something with both quotes and brackets.
I would've thought i'd forget which one to use when, but i seem to  
always remember.

thomas Aylott — subtleGradient — CrazyEgg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20060828/d7b748b4/attachment.html>


More information about the textmate-dev mailing list