<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Elastic Tabs</title>
	<atom:link href="http://blog.macromates.com/2006/elastic-tabs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.macromates.com/2006/elastic-tabs/</link>
	<description>TextMate and OS X</description>
	<lastBuildDate>Wed, 03 Feb 2010 16:53:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Allan Odgaard</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-3379</link>
		<dc:creator>Allan Odgaard</dc:creator>
		<pubDate>Sat, 30 Aug 2008 06:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-3379</guid>
		<description>&lt;p&gt;GregF: Try ⌃⌘T and enter “align” and you’ll see TextMate does have an “Align Assignments” function (in the Source bundle).&lt;/p&gt;

&lt;p&gt;Also have a look at the &lt;a href=&quot;http://manual.macromates.com/en/commands&quot; rel=&quot;nofollow&quot;&gt;Commands section of the manual&lt;/a&gt;. Writing alignment functionality should be simple, granted you know how to align the text :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>GregF: Try ⌃⌘T and enter “align” and you’ll see TextMate does have an “Align Assignments” function (in the Source bundle).</p>

<p>Also have a look at the <a href="http://manual.macromates.com/en/commands" rel="nofollow">Commands section of the manual</a>. Writing alignment functionality should be simple, granted you know how to align the text :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: GregF</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-3378</link>
		<dc:creator>GregF</dc:creator>
		<pubDate>Sat, 30 Aug 2008 04:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-3378</guid>
		<description>&lt;p&gt;I&#039;d like something in TextMate that&#039;s like the Align module in vim.&lt;/p&gt;

&lt;p&gt;http://mysite.verizon.net/astronaut/vim/align.html&lt;/p&gt;

&lt;p&gt;It is very customizable and powerful. A normal use for me is to align the &#039;=&#039; signs in multiple lines of code, but it goes way beyond that. Another of my everyday uses is to reformat lines in the current selection by the white space, which basically makes columns of the text, again really useful for looking at assignments of variables. Any variance in a line will stand out.&lt;/p&gt;

&lt;p&gt;Other times I&#039;ll want to align all the &#039;{}&#039; or &#039;[]&#039; or &#039;()&#039; pairs in assignments, again because it makes differences in the lines stand out.&lt;/p&gt;

&lt;p&gt;There&#039;s a whole set of options allowing left, right, center alignment, multiple columns, aligning on different characters depending on which column it&#039;s on, etc. That functionality is one of the most powerful things I like about vim, and miss in TextMate.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#039;d like something in TextMate that&#039;s like the Align module in vim.</p>

<p><a href="http://mysite.verizon.net/astronaut/vim/align.html" rel="nofollow">http://mysite.verizon.net/astronaut/vim/align.html</a></p>

<p>It is very customizable and powerful. A normal use for me is to align the &#039;=&#039; signs in multiple lines of code, but it goes way beyond that. Another of my everyday uses is to reformat lines in the current selection by the white space, which basically makes columns of the text, again really useful for looking at assignments of variables. Any variance in a line will stand out.</p>

<p>Other times I&#039;ll want to align all the &#039;{}&#039; or &#039;[]&#039; or &#039;()&#039; pairs in assignments, again because it makes differences in the lines stand out.</p>

<p>There&#039;s a whole set of options allowing left, right, center alignment, multiple columns, aligning on different characters depending on which column it&#039;s on, etc. That functionality is one of the most powerful things I like about vim, and miss in TextMate.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: milkfilk</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1594</link>
		<dc:creator>milkfilk</dc:creator>
		<pubDate>Mon, 02 Oct 2006 15:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1594</guid>
		<description>&lt;p&gt;He explicitly calls it elastic tabSTOPS not elastic tabs.  He also explicitly says not to call it elastic tabs (at the bottom).&lt;/p&gt;

&lt;p&gt;Fantastic idea.  Abstract the tab character from the font.  Might be able to use proportional fonts again.  Although, this would have to be a standard feature across all text editors (including really old ones), which is not likely.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>He explicitly calls it elastic tabSTOPS not elastic tabs.  He also explicitly says not to call it elastic tabs (at the bottom).</p>

<p>Fantastic idea.  Abstract the tab character from the font.  Might be able to use proportional fonts again.  Although, this would have to be a standard feature across all text editors (including really old ones), which is not likely.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Per Wigren</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1483</link>
		<dc:creator>Per Wigren</dc:creator>
		<pubDate>Sat, 19 Aug 2006 19:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1483</guid>
		<description>&lt;p&gt;My favourite programmers&#039; editor in the early 90s (GoldED for the Amiga) had a simpler variant. When you press TAB at the beginning of a line it will jump to where the previous line start. Pressing it once again will indent X columns more. Each time you press TAB in the middle of a line it will align to a word in the above line.&lt;/p&gt;

&lt;p&gt;My personal solution to the TAB mess (in projects I control) is to use TAB for indention and spaces for alignment. If you want to align some text to the middle of the previous line, use the same amount of TABs as the previous line, then continue by using spaces until it is aligned correctly. This has the nice side-effect that each programmer can choose her level of indention without screwing up the source code for others.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My favourite programmers&#039; editor in the early 90s (GoldED for the Amiga) had a simpler variant. When you press TAB at the beginning of a line it will jump to where the previous line start. Pressing it once again will indent X columns more. Each time you press TAB in the middle of a line it will align to a word in the above line.</p>

<p>My personal solution to the TAB mess (in projects I control) is to use TAB for indention and spaces for alignment. If you want to align some text to the middle of the previous line, use the same amount of TABs as the previous line, then continue by using spaces until it is aligned correctly. This has the nice side-effect that each programmer can choose her level of indention without screwing up the source code for others.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Lambert</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1315</link>
		<dc:creator>Paul Lambert</dc:creator>
		<pubDate>Wed, 05 Jul 2006 15:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1315</guid>
		<description>&lt;p&gt;I think these are fantastic.&lt;/p&gt;

&lt;p&gt;UI would have to be included to ensure that the &quot;guessing&quot; can be controlled, but as long as that&#039;s done, it is an option I would love to see.&lt;/p&gt;

&lt;p&gt;Does TextMate already store per-file metadata (either in another fork, or in its own preferences?)&lt;/p&gt;

&lt;p&gt;If so, perhaps the file text could be saved with spaces or tabs in the traditional style, but with the necessary info to convert them back into elastic tabs at load?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think these are fantastic.</p>

<p>UI would have to be included to ensure that the &#034;guessing&#034; can be controlled, but as long as that&#039;s done, it is an option I would love to see.</p>

<p>Does TextMate already store per-file metadata (either in another fork, or in its own preferences?)</p>

<p>If so, perhaps the file text could be saved with spaces or tabs in the traditional style, but with the necessary info to convert them back into elastic tabs at load?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Grant Hutchins</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1314</link>
		<dc:creator>Grant Hutchins</dc:creator>
		<pubDate>Wed, 05 Jul 2006 01:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1314</guid>
		<description>&lt;p&gt;Hey elastic tabs are great! I don&#039;t see any problem in at least supplying the option for them in the tab size status bar menu. As long as they can be turned off, then I can happily use them while complainers like &quot;anonymous&quot; above can turn them off.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey elastic tabs are great! I don&#039;t see any problem in at least supplying the option for them in the tab size status bar menu. As long as they can be turned off, then I can happily use them while complainers like &#034;anonymous&#034; above can turn them off.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1311</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 04 Jul 2006 15:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1311</guid>
		<description>&lt;p&gt;Actually, it&#039;s &lt;em&gt;not&lt;/em&gt; nice. Elastic tabs need to apply heuristics where you want your tabs - I&#039;d really prefer my computer doesn&#039;t guess on my formatting preferences.&lt;/p&gt;

&lt;p&gt;And with any decent editor, there is no spaces/tabs problem. You agree on the number of spaces a tab represents, and the editor converts between the two at save/load time.&lt;/p&gt;

&lt;p&gt;Nick is basically solving the wrong problem. If you&#039;re concerned with improving the presentation of your source code, you need to base it on the syntax tree behind the source, not on spaces or tabs.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually, it&#039;s <em>not</em> nice. Elastic tabs need to apply heuristics where you want your tabs &#8211; I&#039;d really prefer my computer doesn&#039;t guess on my formatting preferences.</p>

<p>And with any decent editor, there is no spaces/tabs problem. You agree on the number of spaces a tab represents, and the editor converts between the two at save/load time.</p>

<p>Nick is basically solving the wrong problem. If you&#039;re concerned with improving the presentation of your source code, you need to base it on the syntax tree behind the source, not on spaces or tabs.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Aylott</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1309</link>
		<dc:creator>Thomas Aylott</dc:creator>
		<pubDate>Tue, 04 Jul 2006 14:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1309</guid>
		<description>&lt;p&gt;Mmmm... Sounds &lt;em&gt;nice&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I&#039;m &lt;strong&gt;all for&lt;/strong&gt; making the editing experience slicker.
&lt;rant&gt;
This sounds like a lovely excuse to finally force my coworker into using tabs.&lt;/p&gt;

&lt;p&gt;Just because spaces are the &lt;em&gt;norm&lt;/em&gt; for Ruby doesn&#039;t mean you should use them everywhere.
&lt;/rant&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mmmm&#8230; Sounds <em>nice</em></p>

<p>I&#039;m <strong>all for</strong> making the editing experience slicker.
&lt;rant&gt;
This sounds like a lovely excuse to finally force my coworker into using tabs.</p>

<p>Just because spaces are the <em>norm</em> for Ruby doesn&#039;t mean you should use them everywhere.
&lt;/rant&gt;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: mathie</title>
		<link>http://blog.macromates.com/2006/elastic-tabs/#comment-1304</link>
		<dc:creator>mathie</dc:creator>
		<pubDate>Tue, 04 Jul 2006 13:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://macromates.com/blog/archives/2006/07/04/elastic-tabs/#comment-1304</guid>
		<description>&lt;p&gt;I have considered expanding the current smart tab behavior so that if tab is pressed while at the end of the line (rather than start) it would insert enough padding to align with what’s on the line above — I am however skeptical about this going to “feel right” instead of just getting in the way. But it’s worth doing some prototyping.&lt;/p&gt;

&lt;p&gt;That behaviour would have been &lt;em&gt;very&lt;/em&gt; welcome when I switched from (X)Emacs, but hopefully I&#039;ve gotten it out of my system by now. :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have considered expanding the current smart tab behavior so that if tab is pressed while at the end of the line (rather than start) it would insert enough padding to align with what’s on the line above — I am however skeptical about this going to “feel right” instead of just getting in the way. But it’s worth doing some prototyping.</p>

<p>That behaviour would have been <em>very</em> welcome when I switched from (X)Emacs, but hopefully I&#039;ve gotten it out of my system by now. :-)</p>]]></content:encoded>
	</item>
</channel>
</rss>

