<?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>The eflow blog &#187; eclipse</title>
	<atom:link href="http://blog.eflow.org/archives/tag/eclipse/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.eflow.org</link>
	<description>Insert some amazingly witty tagline here</description>
	<lastBuildDate>Fri, 23 Apr 2010 03:19:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Open In Terminal Option in Eclipse</title>
		<link>http://blog.eflow.org/archives/64</link>
		<comments>http://blog.eflow.org/archives/64#comments</comments>
		<pubDate>Fri, 29 Aug 2008 20:48:10 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=64</guid>
		<description><![CDATA[Over the past year, I scoured Google for an Eclipse plugin that  would launch the terminal in a specific folder for me.  I was picturing something that added a right-click context menu option for opening any folder in a project in the console so I could do command line stuff on it.
I would [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past year, I scoured Google for an Eclipse plugin that <img src="http://blog.eflow.org/wp-content/uploads/2008/05/eclipse_logo_white-300x174.jpg" alt="" width="190" align="right" /> would launch the terminal in a specific folder for me.  I was picturing something that added a right-click context menu option for opening any folder in a project in the console so I could do command line stuff on it.</p>
<p>I would do a bunch of searches and find nothing, give up for a few months until I needed the functionality again, do a bunch of searches, give up, and so on&#8230;</p>
<p><span id="more-64"></span>Finally, one day I found a page hinting at the External Tools toolbar menu option: <img class="alignnone size-medium wp-image-73" title="externaltools" src="http://blog.eflow.org/wp-content/uploads/2008/08/externaltools.png" alt="" width="35" height="25" /><br />
<em>(If you don&#8217;t see this in your toolbar, right click on it&#8211;&gt;customize perspective&#8211;&gt;check the box next to External Tools)</em></p>
<p>Once you find that button, click the down arrow on it and then select the &#8220;Open External Tools Dialog&#8230;&#8221; menu item.</p>
<p>Click &#8220;Program&#8221; and then click the &#8220;New&#8221; button.</p>
<p>The configuration I used in Ubuntu with Eclipse 3.3 is pictured below. I&#8217;m sure it will work with any recent Eclipse and any OS (Windows, Mac, Unix flavor), just change the name of the process that you are launching.</p>
<p><a href="http://blog.eflow.org/wp-content/uploads/2008/08/externaltoolsdialog.png"><img title="externaltoolsdialog" src="http://blog.eflow.org/wp-content/uploads/2008/08/externaltoolsdialog.png" border="0" alt="" width="595" height="445" /></a></p>
<p>Location: /usr/bin/gnome-terminal<br />
Working Directory: ${resource_loc}<br />
Arguments: &#8211;geometry=118&#215;33+25+10</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=64" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/64/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>OpenMRS Metrics</title>
		<link>http://blog.eflow.org/archives/60</link>
		<comments>http://blog.eflow.org/archives/60#comments</comments>
		<pubDate>Fri, 25 Jul 2008 17:16:57 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[openmrs]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=60</guid>
		<description><![CDATA[I was recently tasked with finding out the number of methods in each class in each package inside of OpenMRS.  My first thought was to write a java class to do some reflection.  My second thought was to find a java class that someone else had written and use that.  My third [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently tasked with finding out the number of methods in each class in each package inside of OpenMRS.  My first thought was to write a java class to do some reflection.  My second thought was to find a java class that someone <em>else</em> had written and use that.  My third thought was to find a way for Eclipse to do it.</p>
<p>I really should have jumped to that last one first.  Googling for my second thought gave me nothing useful.  However, simply adding &#8220;eclipse&#8221; to my search term brought up the <a href="http://metrics.sourceforge.net/">Metrics plugin</a> as the first result!  The Metrics plugin counts all different types of things.  Lucky for me, &#8220;number of methods&#8221; just happens to be one of them.</p>
<p>To get the counts working for you, follow these easy steps:</p>
<ol>
<li>Add <strong>http://metrics.sourceforge.net/update</strong> to eclipse as a plugin update site</li>
<li>Turn metrics on for your project:
<ol>
<li>Right click on the root of your project in <span style="text-decoration: underline;">Package Explorer</span> view</li>
<li>Choose Properties&#8211;&gt;Metrics&#8211;&gt;Enable Metrics</li>
</ol>
</li>
<li>Do an Eclipse clean rebuild</li>
<li>Click on the root of your project in the Package Explorer</li>
<li>Open the &#8220;Metrics&#8221; view</li>
</ol>
<p>These are the relevant statistics from the OpenMRS project:</p>
<p><a href="http://blog.eflow.org/wp-content/uploads/2008/07/metrics.png"><img class="alignnone size-full wp-image-61" title="metrics" src="http://blog.eflow.org/wp-content/uploads/2008/07/metrics.png" alt="" width="448" height="127" /></a></p>
<p>The second api/web are from the test package.  We have a lot of work to do to catch our total number of unit test methods up with our number of api methods.</p>
<p>I&#8217;ve also uploaded the <a href="http://blog.eflow.org/wp-content/uploads/2008/07/metrics-total.png">entire OpenMRS metrics output</a>.</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=60" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/60/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I Love About Eclipse Today&#8230;</title>
		<link>http://blog.eflow.org/archives/52</link>
		<comments>http://blog.eflow.org/archives/52#comments</comments>
		<pubDate>Thu, 15 May 2008 15:15:30 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=52</guid>
		<description><![CDATA[
&#8230;are the shortcuts.
I&#8217;ve been using control-shift-t extensively since Darius first showed it to me a few months ago.  It will let you quickly find and jump to a java class across your current workspace.  (There is also an Open Type button by default in eclipse that you can use.)
I&#8217;ve always wanted a way to do [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.eflow.org/wp-content/uploads/2008/05/eclipse_logo_white-300x174.jpg" alt="" width="190" align="right" /></p>
<p>&#8230;are the shortcuts.</p>
<p>I&#8217;ve been using control-shift-t extensively since Darius first showed it to me a few months ago.  It will let you quickly find and jump to a java class across your current workspace.  (There is also an Open Type button by default in eclipse that you can use.)</p>
<p>I&#8217;ve always wanted a way to do the same except with our jsp, xml, and properties files.  I know most of the names of files and know where they are, I&#8217;m just lazy.  I want to be able to jump to them without having to expand the whole tree.</p>
<p>Well, Open Resource to the rescue!  Control-shift-r works just like the Open Type except with nonjava files.  Woot!</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=52" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/52/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What I Love About Eclipse Today&#8230;</title>
		<link>http://blog.eflow.org/archives/47</link>
		<comments>http://blog.eflow.org/archives/47#comments</comments>
		<pubDate>Sat, 10 May 2008 01:43:44 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://blog.eflow.org/?p=47</guid>
		<description><![CDATA[
&#8230;is that most of the other users of Eclipse are also software developers.  I&#8217;d bet that 75% of the users of Eclipse are capable of writing a plugin for it.  This is part of the reason there are tons of eclipse plugins, as I&#8217;ve talked about before.
Yesterday I was lamenting the fact that Eclipse doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.eflow.org/wp-content/uploads/2008/05/eclipse_logo_white-300x174.jpg" alt="" title="eclipse_logo_white" width="190" align="right" /><br />
&#8230;is that most of the other users of Eclipse are also software developers.  I&#8217;d bet that 75% of the users of Eclipse are capable of writing a plugin for it.  This is part of the reason there are tons of <a href="http://www.eclipseplugincentral.com/">eclipse plugins</a>, as I&#8217;ve <a href="/archives/18">talked about before</a>.</p>
<p>Yesterday I was lamenting the fact that Eclipse doesn&#8217;t have a middle-click-closes-tab functionality as Firefox does.  It finally disturbed me enough to go and do a quick google search for it.  Lo and behold, out of those many other Eclipse-loving programmers out there, one of them felt as I did.</p>
<p>I now have the ability to close my tabs with a simple middle click thanks to Andriy Palamarchuk and the <a href="http://www.hlsoft.com/clickclosestab_eclipse">middle click closes tab plugin</a>.</p>
<p>Plugin site: <a href="http://www.hlsoft.com/clickclosestab_eclipse">http://www.hlsoft.com/clickclosestab_eclipse</a><br />
Plugin update url for eclipse: <a href="http://update.mousefeed.com/">http://update.mousefeed.com/</a></p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=47" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/47/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I Love About Eclipse Today</title>
		<link>http://blog.eflow.org/archives/21</link>
		<comments>http://blog.eflow.org/archives/21#comments</comments>
		<pubDate>Mon, 03 Dec 2007 21:37:46 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://eflow.org/blog/archives/21</guid>
		<description><![CDATA[
It always bothered me that after I edited files on the filesystem I would have to then explicitly tell Eclipse to &#8220;Refresh&#8221; in order to see them.  I stumbled across an option in the Preferences today that completely fixes it with just the click of a button!
Window &#8211;&#62; Preferences &#8211;&#62; General &#8211;&#62; Workspace : Refresh [...]]]></description>
			<content:encoded><![CDATA[<p><img title="eclipse_logo_white" src="http://blog.eflow.org/wp-content/uploads/2008/05/eclipse_logo_white-300x174.jpg" alt="" width="190" align="right" /><br />
It always bothered me that after I edited files on the filesystem I would have to then explicitly tell Eclipse to &#8220;Refresh&#8221; in order to see them.  I stumbled across an option in the Preferences today that completely fixes it with just the click of a button!</p>
<blockquote><p>Window &#8211;&gt; Preferences &#8211;&gt; General &#8211;&gt; Workspace : Refresh Automatically</p></blockquote>
<p>This the &#8220;File out of date&#8221; error I would get when copying and pasting files within Eclipse after an Ant build.  It also makes files appear magically in Eclipse when working directly with the filesystem (like when using Tortoise).</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=21" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/21/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I Love About Eclipse Today</title>
		<link>http://blog.eflow.org/archives/18</link>
		<comments>http://blog.eflow.org/archives/18#comments</comments>
		<pubDate>Wed, 07 Nov 2007 16:04:01 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[babble]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://eflow.org/blog/archives/18</guid>
		<description><![CDATA[
The PIH developers used to have a daily tradition of sharing what new features and special tricks they found in Eclipse. I&#8217;ve had many such moments myself, albeit not nearly a daily thing&#8230;
Today, the thing I love about Eclipse is the abundance of plugins.  I sat here thinking, I wish I could control-click on an [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.eflow.org/wp-content/uploads/2008/05/eclipse_logo_white-300x174.jpg" alt="" title="eclipse_logo_white" width="190" align="right" /><br />
The PIH developers used to have a daily tradition of sharing what new features and special tricks they found in <a href="http://eclipse.org">Eclipse</a>. I&#8217;ve had many such moments myself, albeit not nearly a daily thing&#8230;</p>
<p>Today, the thing I love about Eclipse is the abundance of plugins.  I sat here thinking, I wish I could control-click on an interface method and jump to the implementation of that interface.  The first hit in my google search gave me a plugin to install.  Now, instead of doing any silly looking for the Hibernate implementation of the ContextDAO, I can right-click on a method call, select &#8220;Open Implementation&#8221;, and boom, I&#8217;m looking at the HibernateContextDAO class.</p>
<p>You can find the implementation plugin described here <a href="http://eclipse-tools.sourceforge.net/implementors/index.html">http://eclipse-tools.sourceforge.net/implementors</a> and the eclipse update site link is: http://eclipse-tools.sourceforge.net/updates/ .</p>
<p>The other very helpful plugins I have installed are:</p>
<ul>
<li><a href="http://subclipse.tigris.org/">Subclipse</a> &#8211; http://subclipse.tigris.org/update_1.2.x</li>
<li><a href="http://findbugs.sourceforge.net/">FindBugs</a> &#8211; http://findbugs.cs.umd.edu/eclipse</li>
<li><a href="http://www.junginger.biz/eclipse/freemem.html">FreeMem</a> &#8211; http://www.junginger.biz/eclipse/</li>
</ul>
<p>In addition, because I upgraded to Eclipse 3.3.1.1 (that last .1 is very important), I get built in jsp syntax highlighting.</p>
 <img src="http://blog.eflow.org/wp-content/plugins/feed-statistics.php?view=1&post_id=18" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.eflow.org/archives/18/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
