<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mac Developer Tips &#187; TextMate</title>
	<atom:link href="http://MacDeveloperTips.com/category/textmate/feed" rel="self" type="application/rss+xml" />
	<link>http://MacDeveloperTips.com</link>
	<description>Tips, tools and code for iPhone and Mac developers.</description>
	<lastBuildDate>Thu, 12 Aug 2010 23:45:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TextMate and Xcode</title>
		<link>http://MacDeveloperTips.com/xcode/textmate-and-xcode.html</link>
		<comments>http://MacDeveloperTips.com/xcode/textmate-and-xcode.html#comments</comments>
		<pubDate>Fri, 27 Jun 2008 07:44:30 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://MacDeveloperTips.com/?p=216</guid>
		<description><![CDATA[I&#8217;ve been spending time getting familiar with Xcode as I learn to write applications in Objective-C, with the larger goal of writing applications for iPhone. My editor of choice on the Mac up to this point, is TextMate, an great all around code editor. I&#8217;ve written a number of tutorials/tips on TextMate on this blog [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been spending time getting familiar with Xcode as I learn to write applications in Objective-C, with the larger goal of writing applications for iPhone. My editor of choice on the Mac up to this point, is TextMate, an great all around code editor. I&#8217;ve written a number of tutorials/tips on TextMate on this blog (check out the <a href="http://macdevelopertips.com/category/textmate" target="_blank">TextMate Category</a> for links).</p>
<p>One of the things I&#8217;ve become quite accustomed to is tabbed based user interfaces. For example, in FireFox I typically have a screenful of open tabs. When working with projects inside of TextMate, you can have multiple source code files open in tabs. Unfortunately, this is not a feature supported in Xcode (that I am aware of).</p>
<p>So, I spent a few minutes poking around at various options and came up with an approach that is far from perfect, yet offers a blend of coding in TextMate and managing compiles/builds in Xcode. Not perfect, however, it&#8217;s working for me.</p>
<p>Click on the image below to learn more.</p>
<p><a href="http://macdevelopertips.com/wp-content/uploads/2008/06/xcode-textmate-final.mov" target="_blank"><img src="http://MacDeveloperTips.com/wp-content/uploads/2008/06/textmate-xcode.png" alt="" /> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://MacDeveloperTips.com/xcode/textmate-and-xcode.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
<enclosure url="http://macdevelopertips.com/wp-content/uploads/2008/06/xcode-textmate-final.mov" length="37279630" type="video/quicktime" />
		</item>
		<item>
		<title>TextMate: Working with Comments</title>
		<link>http://MacDeveloperTips.com/textmate/textmate-working-with-comments.html</link>
		<comments>http://MacDeveloperTips.com/textmate/textmate-working-with-comments.html#comments</comments>
		<pubDate>Tue, 10 Jun 2008 12:30:06 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[comments]]></category>

		<guid isPermaLink="false">http://MacDeveloperTips.com/textmate/textmate-working-with-comments.html</guid>
		<description><![CDATA[In a recent email exchange with Allan Odgaard, creator of TextMate, I asked if he had any suggestions for tips that would make for a good screencast. Allan mentioned that on the TextMate IRC, there are often questions about working with comments. And with that, he shared a list of tips that you&#8217;ll find in [...]]]></description>
			<content:encoded><![CDATA[<p>In a recent email exchange with Allan Odgaard, creator of <a href="http://macromates.com/" target="_blank">TextMate</a>, I asked if he had any suggestions for tips that would make for a good screencast. Allan mentioned that on the TextMate IRC, there are often questions about working with comments. And with that, he shared a list of tips that you&#8217;ll find in the video that follows.</p>
<p>There are five tips on working with comments, including toggling comments on/off, commenting a subset of a line, inserting comment blocks and a short section on how to insert todo lists inside a comment block.</p>
<p><a href="javascript:lynkVideoPop(719,'1213101131');" class="lynkvp"><img src="http://macdevelopertips.com/wp-content/uploads/images/TextMate-Tips-Intro-Click-Here.png" /></a></p>
<p>Summary of tips:</p>
<ul>
<li>Apple-/                Togggle comment</li>
<li>Alt-Apple-/         Comment a block and comment subset of a line</li>
<li>&#8220;head&#8221; tab-key    Insert comment header at top of file</li>
<li>Control-Shift-B   Insert comment banner (top of declaration, function, etc)</li>
<li>&#8220;todo&#8221; tab-key     Insert todo block</li>
</ul>
<p>Note: In order for these features to work, you will need to make sure the Source and TODO bundles are enabled within TextMate (see the video for more information).</p>
<hr color="#00008b" size="1" /><img src="/images/blank.gif" border="0" height="1" /><br />
The music in the video is <a href="http://www.amazon.com/gp/product/B000001EO9?ie=UTF8&amp;tag=macdevelopertips-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000001EO9" target="_blank">J.J. Cale</a> and the song: Call Me the Breeze.<br />
Click to hear a longer clip of J.J. Cale: [audio:/2008/jj.mp3]</p>
]]></content:encoded>
			<wfw:commentRss>http://MacDeveloperTips.com/textmate/textmate-working-with-comments.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>TextMate: HTML Tag Completion</title>
		<link>http://MacDeveloperTips.com/textmate/textmate-html-tag-completion.html</link>
		<comments>http://MacDeveloperTips.com/textmate/textmate-html-tag-completion.html#comments</comments>
		<pubDate>Wed, 28 May 2008 12:03:28 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://MacDeveloperTips.com/textmate/textmate-html-tag-completion.html</guid>
		<description><![CDATA[The HTML bundle in Textmate offers a wide selection of features for formatting, working with tags and previewing within a browser. One of the options that offers great mileage is Insert Open/Close tag with Current Word. If you have been working with TextMate and HTML for any length of time, this tip won&#8217;t be new. [...]]]></description>
			<content:encoded><![CDATA[<p>The HTML bundle in Textmate offers a wide selection of features for formatting, working with tags and previewing within a browser. One of the options that offers great mileage is <em>Insert Open/Close tag with Current Word</em>. If you have been working with TextMate and HTML for any length of time, this tip won&#8217;t be new. However, if you are new to either, I think you&#8217;ll find this little trick quite helpful.</p>
<p>The tip is all about working with tags, essentially offering an automated means to insert matching tags and intelligently placing the cursor based on the tag type. Once you get used to using this trick, you&#8217;ll spend a lot less time trying searching for that unmatched tag in your source, resulting in valid HTML the first time around.</p>
<p><a href="javascript:lynkVideoPop(719,'1211983838');" class="lynkvp"><img src="http://macdevelopertips.com/wp-content/uploads/images/TextMate-Tips-Intro-Click-Here.png" /></a></p>
<hr color="#00008b" size="1" /><img src="/images/blank.gif" border="0" height="1" /><br />
<img src="/images/blank.gif" border="0" height="3" /><br />
The music in the video is J.J. Cale and the song: Call Me the Breeze.<br />
A longer clip of J.J. Cale jamming: [audio:/2008/jj.mp3]<br />
<img src="/images/blank.gif" border="0" height="3" /><br />
Click the image to see more about about JJ and the CD (at Amazon)<br />
<a href="http://www.amazon.com/gp/product/B000001EO9?ie=UTF8&amp;tag=macdevelopertips-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000001EO9" target="_blank"><img src="http://macdevelopertips.com/wp-content/uploads/2008/04/jj-cale.jpg" border="0" /></a><img src="http://www.assoc-amazon.com/e/ir?t=macdevelopertips-20&amp;l=as2&amp;o=1&amp;a=B000001EO9" style="border: medium none  ! important; margin: 0px ! important" border="0" height="1" width="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://MacDeveloperTips.com/textmate/textmate-html-tag-completion.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TextMate: Execute Inline Ruby</title>
		<link>http://MacDeveloperTips.com/textmate/textmate-execute-inline-ruby.html</link>
		<comments>http://MacDeveloperTips.com/textmate/textmate-execute-inline-ruby.html#comments</comments>
		<pubDate>Wed, 16 Apr 2008 13:02:00 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[screencast]]></category>

		<guid isPermaLink="false">http://MacDeveloperTips.com/textmate/textmate-execute-inline-ruby.html</guid>
		<description><![CDATA[Use this tip within TextMate to execute Ruby script inline with your code.]]></description>
			<content:encoded><![CDATA[<p>When working in TextMate, if you have a one or more lines of Ruby code that you would like to have the interpreter run, without the need for passing the entire file to the interpreter, this tip may be just what the doctor ordered.</p>
<p>For example, when debugging, often times it would be really handy to run a simple script at a specified location in your code to look at a value, call a method on an Object&#8230; The key point here is that you can have as little as one line of Ruby processed by the interpreter and the return value will be inserted inline.</p>
<p>This easiest way to get the gist of this is to watch the screencast below:</p>
<p><a href="javascript:lynkVideoPop(719,'1208351498');" class="lynkvp"><img src="http://macdevelopertips.com/wp-content/uploads/images/TextMate-Tips-Intro-Click-Here.png" /></a></p>
<p>If you want to insert the results of one or more lines of script, directly into your code, using # =&gt; markers is the way to go.</p>
<hr color="#00008b" size="1" /><img src="/images/blank.gif" border="0" height="1" /><br />
<hr color="#00008b" size="1" />The music in the video is <a href="http://www.amazon.com/gp/product/B000001EO9?ie=UTF8&amp;tag=macdevelopertips-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000001EO9" target="_blank">J.J. Cale</a> and the song: Call Me the Breeze.<br />
<img src="/images/blank.gif" border="0" height="3" /><br />
A longer clip of J.J. Cale jamming: [audio:/2008/jj.mp3]<br />
<img src="/images/blank.gif" border="0" height="3" /></p>
]]></content:encoded>
			<wfw:commentRss>http://MacDeveloperTips.com/textmate/textmate-execute-inline-ruby.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>DOMAssistant Bundle</title>
		<link>http://MacDeveloperTips.com/textmate/domassistant-bundle.html</link>
		<comments>http://MacDeveloperTips.com/textmate/domassistant-bundle.html#comments</comments>
		<pubDate>Mon, 17 Mar 2008 13:15:26 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[DOM]]></category>

		<guid isPermaLink="false">http://macdevelopertips.com/textmate/domassistant-bundle.html</guid>
		<description><![CDATA[A DOM Assistant bundle for TextMate.]]></description>
			<content:encoded><![CDATA[<p> As a huge fan of <a href="http://macromates.com/" target="_blank">TextMate</a> and always one on the lookout for new bundles, I want to pass on interesting DOM Assistant bundle developed by Roger Johansson over at <a href="http://www.456bereastreet.com/" target="_blank">456 Berea Street</a>.</p>
<p><span id="more-74"></span>Seems Roger has been using the <a href="http://www.domassistant.com/">DOMAssistant</a> JavaScript library written by Robert Nyman, however, he was looking for a more integrated tool for use within TextMate. So, as any entreprising developer would, he wrote his own bundle.</p>
<p>Once installed, the DomAssistant provides a list of options as shown below. I don&#8217;t spend a great deal of time working with DOM, so I may not be the best judge of the completeness of the bundle, however, from this perspective it looks pretty good.</p>
<p><img src="http://macdevelopertips.com/wp-content/uploads/2008/03/dom-assist.png" /></p>
<p>You can read Roger&#8217;s post about the DomAssistant <a href="http://www.456bereastreet.com/archive/200803/domassistant_bundle_for_textmate/" target="_blank">here</a>, download the bundle <a href="http://textmate-domassistant.googlecode.com/files/DOMAssistant-tmbundle-1.0.zip" target="_blank">here</a> and it may also be worthwhile to bookmark the  <a href="http://code.google.com/p/textmate-domassistant/" target="_blank">Google Code Project</a>. Also, Roger is looking for comments and suggestions, so if you find the bundle helpful and have some ideas, <a href="http://www.456bereastreet.com/archive/200803/domassistant_bundle_for_textmate/" target="_blank">leave Roger a comment</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://MacDeveloperTips.com/textmate/domassistant-bundle.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

