<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: Times; font-size: medium; "><pre style="white-space: pre-wrap; ">Hmmm,</pre><pre style="white-space: pre-wrap; ">That does not seem to work. Do I create a preference file in my custom bundle because that did't work. I found the preference file that you mentioned in various bundles, in Source and added the ( '<', '>' ) but again it doesn't autocomplete</pre><pre style="white-space: pre-wrap; ">What am I missing?</pre><pre style="white-space: pre-wrap; ">Thanks</pre><pre style="white-space: pre-wrap; ">--------------</pre><pre style="white-space: pre-wrap; ">Sure. In the bundle editor, look for a Preference, probably called "Smart Typing Pairs" or something similar. It might look like this:
{ smartTypingPairs = (
( '"', '"' ),
( '(', ')' ),
( '{', '}' ),
( '[', ']' ),
( '“', '”' ),
( "'", "'" ),
);
}
Basically, it's just a series of pairs. You can add
( "<", ">"),
to the list and that should do it.
On Jul 13, 2011, at 10:19 AM, John Relosa wrote:
That works great thanks!
Is there a way to autocomplete the < symbol? I can do it with the { so when I press "{" TM autocompletes it with the end } so it automatically becomes {}. How can I add that functionality to the "<" symbol so it automatically becomes <>.
Thank you.
___________________________________________
</pre><div><br></div></span></div><div style="position:fixed"></div>
</div></body></html>