<?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>xambr::blog &#187; tools</title>
	<atom:link href="http://blog.xambr.com/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xambr.com</link>
	<description>crafting my thoughts</description>
	<lastBuildDate>Tue, 20 Jul 2010 18:57:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Ruby on Linux with jEdit</title>
		<link>http://blog.xambr.com/2009/03/02/ruby-on-linux-with-jedit/</link>
		<comments>http://blog.xambr.com/2009/03/02/ruby-on-linux-with-jedit/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:51:30 +0000</pubDate>
		<dc:creator>max.rb</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.xambr.com/?p=66</guid>
		<description><![CDATA[I recently moved from Windows to a Linux development environment and needed to find good text editor &#8211; particularly one that was (or could be made) friends with Ruby. Ideally this editor would be cross platform because, on occasion I do have to load up Windows and if possible I wanted to avoid having a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently moved from Windows to a Linux development environment and needed to find good text editor &#8211; particularly one that was (or could be made) friends with Ruby. Ideally this editor would be cross platform because, on occasion I do have to load up Windows and if possible I wanted to avoid having a different editor for each environment.</p>
<p>On Windows I was using <a href="http://www.e-texteditor.com/">E</a> &#8211; but that does not run on Linux and I had a couple of gripes with it (slow loading of large files and overaggressive code completion). I gave <a href="http://www.vim.org/">Vim/gVim</a> a shot but I didn&#8217;t enjoy text-editing in a console and <a href="http://www.vim.org/">gVim</a> is ugly (yes, I do believe <a title="Chapter 3, Pragmatic Thinking and Learning by Andy Hunt" href="http://www.pragprog.com/titles/ahptl/pragmatic-thinking-and-learning">attractiveness is important</a>). I was suspicious of the IDE possibilities out there but I did give a number of them  (<a href="http://www.aptana.com/rails">RadRails</a>, <a href="http://homepage2.nifty.com/sakazuki/rde_en/">RDE</a>, <a href="http://www.eclipse.org/">Eclipse</a>, etc) a quick shot. Suffice to say they all suffered from one or more of the following: being too bloated, waving too many wands and possessing play buttons (I feel a rant coming on&#8230; stifle!).</p>
<p>Enter <a href="http://www.jedit.org/">jEdit</a>. It is a very functional, customizable, extensible, java based editor <strong>and</strong> it looks pretty good to boot. So a couple weeks ago I set it up on both my Windows and Linux installs and so far so good &#8211; it has what I want and does not suffer from the gripes I had with <a href="http://www.e-texteditor.com/">E</a>. One of my favourite features so far (keep in mind its only been a couple weeks) is it&#8217;s <a title="jEdit features" href="http://www.jedit.org/index.php?page=features">&#8220;Hyper Search&#8221;</a> which is a bit like a built in ack.</p>
<p>Currently, I&#8217;m using the following plugins (geared towards ruby/web development):</p>
<ul>
<li>Editor Scheme (for pre-fabricated syntax highlighting schemes)</li>
<li>RubyPlugin</li>
<li>Console</li>
<li>Templates</li>
</ul>
<p>One thing I did have to do in order to get Ruby ERB files to be highlighted properly was to update jEdit&#8217;s &#8220;modes&#8221; <code>catalog</code> file. On my Windows install this was located in <code>C:\Program Files\jEdit\Modes</code> and on Linux it was located in <code>/usr/share/jEdit/modes</code>. My file already contained a reference to an &#8216;rhtml&#8217; mode so I just updated it &#8211; here is the whole mode block:</p>
<pre class="code-block">  &lt;MODE NAME="erb"		FILE="erb.xml"
				FILE_NAME_GLOB="*.{.html.erb,rhtml}" /&gt;</pre>
<p>If you use that you&#8217;ll also need to rename the file <code>rhtml.xml</code> to <code>erb.xml</code> (it will be in the same directory as the catalog file).</p>
<p>As I said I&#8217;ve only been using <a href="http://www.jedit.org/">jEdit</a> for a couple of weeks but thus far I do not have anything negative to report. If that changes I&#8217;ll update this post. In the meantime, if anyone has any comments about jEdit or other options I might have overlooked please let me (and us) know.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xambr.com/2009/03/02/ruby-on-linux-with-jedit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
