<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Eclipse Tips</title>
	<atom:link href="http://eclipsetips.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eclipsetips.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jun 2008 17:10:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='eclipsetips.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Eclipse Tips</title>
		<link>http://eclipsetips.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://eclipsetips.wordpress.com/osd.xml" title="Eclipse Tips" />
	<atom:link rel='hub' href='http://eclipsetips.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Extract supertype</title>
		<link>http://eclipsetips.wordpress.com/2008/06/18/extract-supertype/</link>
		<comments>http://eclipsetips.wordpress.com/2008/06/18/extract-supertype/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 17:10:36 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[refactoring]]></category>
		<category><![CDATA[who's your daddy]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/?p=31</guid>
		<description><![CDATA[When I&#8217;m working on a group of classes that offer similar functionality, I&#8217;ll want to create a parent class or interface to share functionality or allow the children to be used polymorphically. Eclipse has a couple of refactoring tools that make the process of creating the parent easier. Ctrl-Alt-T to open the refactoring menu and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=31&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I&#8217;m working on a group of classes that offer similar functionality, I&#8217;ll want to create a parent class or interface to share functionality or allow the children to be used polymorphically. Eclipse has a couple of refactoring tools that make the process of creating the parent easier. Ctrl-Alt-T to open the refactoring menu and then select Extract interface&#8230; or Extract superclass&#8230; depending on how you want your hierarchy to behave. Then, select the methods and fields that should be promoted to the parent and voila, Eclipse will create that supertype with the methods and fields you specified.</p>
<p>Today&#8217;s tip:</p>
<p>Ctrl-Alt-T, then Extract interface/superclass: moves methods and fields into a new parent supertype</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=31&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2008/06/18/extract-supertype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Expand and contract your selection</title>
		<link>http://eclipsetips.wordpress.com/2007/12/11/expand-and-contract-your-selection/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/11/expand-and-contract-your-selection/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 16:50:22 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[editor]]></category>
		<category><![CDATA[the incredible expanding selection]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/11/expand-and-contract-your-selection/</guid>
		<description><![CDATA[A quick way to expand your current selection to include the next most significant element is to use the keystroke Alt-Shift-Up. Try placing your cursor in the middle of a word and hit Alt-Shift-Up. Your selection will expand to include the whole word. Say your word is a parameter in a method signature, hitting Alt-Shift-Up again [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=30&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A quick way to expand your current selection to include the next most significant element is to use the keystroke Alt-Shift-Up. Try placing your cursor in the middle of a word and hit Alt-Shift-Up. Your selection will expand to include the whole word. Say your word is a parameter in a method signature, hitting Alt-Shift-Up again will expand the selection to include the parameter&#8217;s type. Hitting it again will select the entire method. Neat, huh? As you might expect, there&#8217;s a corresponding Alt-Shift-Down to reduce the current selection as well.</p>
<p>Today&#8217;s tip:</p>
<p>Alt-Shift-Up/Down: expand/contract the current selection</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=30&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/11/expand-and-contract-your-selection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>And now for something completely different</title>
		<link>http://eclipsetips.wordpress.com/2007/12/10/and-now-for-something-completely-different/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/10/and-now-for-something-completely-different/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 16:38:40 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[kathy lee would kick martha's butt]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/10/and-now-for-something-completely-different/</guid>
		<description><![CDATA[Ok, this is not an Eclipse tip, unless you consider that it can improve the experience of launching the Eclipse application, in which case, yeah, I guess this is an Eclipse tip&#8230; false alarm people. I came across a gem of a program called Launchy. Basically, it allows you to launch programs (and other things) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=29&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, this is not an Eclipse tip, unless you consider that it can improve the experience of launching the Eclipse application, in which case, yeah, I guess this is an Eclipse tip&#8230; false alarm people.</p>
<p>I came across a gem of a program called <a href="http://www.launchy.net/">Launchy</a>. Basically, it allows you to launch programs (and other things) by using keyboard shortcuts instead of hunting through the Start Menu or Windows Explorer. It does this by indexing certain types of files in certain folders, such as .exe files in the Start Menu folder. </p>
<p>From the website:</p>
<blockquote><p><em>Launchy is a free windows utility designed to help you forget about your start menu, the icons on your desktop, and even your file manager.</em></p>
<p><em>Launchy indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes!</em></p></blockquote>
<p>You launch Launchy with the shortcut Alt-Space, then you start typing the name of the thing you want to launch, which Launchy will auto-complete. For example, by the time you&#8217;ve typed &#8220;e&#8221;, &#8220;c&#8221;, &#8220;l&#8221;, &#8220;i&#8221;, Launchy will have proposed Eclipse as one of your options (assuming you&#8217;ve created a shortcut in the Start Menu for Eclipse) and you can hit enter to launch it. Type &#8220;f&#8221;, &#8220;i&#8221;, &#8220;r&#8221;, &#8220;e&#8221; and Firefox will come up. Very cool. Want something even cooler? Type &#8220;fire&#8221; and then hit tab, then type <a href="http://www.eclipse.org/">www.eclipse.org</a> and Launchy will open a new tab in Firefox for the Eclipse home page.</p>
<p>I mentioned that Launchy can launch other things, by that I mean it can launch an mp3 or a Word document, or anything that is launchable. You have to configure it a bit by telling it to index your My Music or your My Documents folder but that&#8217;s as easy as right-clicking it and selecting the Directories option.</p>
<p>You really just have to try it, you won&#8217;t be disappointed. I can already feel myself becoming disencumbered of some of the weight of Windows, and <a href="http://www.grudge-match.com/History/stew_giff.shtml">that&#8217;s a good thing</a>.</p>
<p>Launchy is a Windows app. If you are lucky enough to be a Mac user, check out the even more impressive <a href="http://mac.softpedia.com/get/Utilities/Quicksilver.shtml">Quicksilver</a> and if you are at all interested in user-interface design, the creator of Quicksilver has given a <a href="http://video.google.com/videoplay?docid=8493378861634507068&amp;hl=en">fascinating Google Talk</a> that you must check out.</p>
<p>Interestingly, Launchy and Quicksilver are both open-source applications which have thoughtful and delightful user-interfaces. I can&#8217;t find it now but I read a blog a while back about &#8220;why open source software sucks&#8221; and the number one reason was that is was unusable because the developers who built it did not have the talent or desire to build quality UI&#8217;s. Well, here are two counter-examples to that claim (and I would also throw Eclipse into this mix) and I think it&#8217;s a good sign for OSS and users of OSS.</p>
<p>Today&#8217;s tip:</p>
<p>Alt-Space (if you&#8217;ve installed Launchy): launches arbitrary stuff</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=29&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/10/and-now-for-something-completely-different/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Fuzzy search</title>
		<link>http://eclipsetips.wordpress.com/2007/12/07/fuzzy-search/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/07/fuzzy-search/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 15:15:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[search]]></category>
		<category><![CDATA[holy interplanetary yard stick]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/07/fuzzy-search/</guid>
		<description><![CDATA[There are 2 essential shortcuts for searching for and opening files: Ctrl-Shift-R and Ctrl-Shift-T. The R version opens any resource that is in your project where the T version opens any type that is referenced by your project (for a java project, that could mean a type that is included in a 3rd party library). Once [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=9&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are 2 essential shortcuts for searching for and opening files: Ctrl-Shift-R and Ctrl-Shift-T. The R version opens any resource that is in your project where the T version opens any type that is referenced by your project (for a java project, that could mean a type that is included in a 3rd party library).</p>
<p>Once you&#8217;ve mastered that, each of those search options allows you to apply Eclipse&#8217;s fuzzy search logic. For example, if you Ctrl-Shift-R for a resource called &#8220;HippopotamusHandler.java&#8221; you could start looking for it by spelling out &#8220;H&#8221;, &#8220;i&#8221;, &#8220;p&#8221;, &#8220;p&#8221;, etc.. and that would match against &#8220;Hippopotamus.java&#8221;, &#8220;HippopotamusCage.java&#8221;, &#8220;HippopotamusMeal.java&#8221;, &#8220;Hippocampus.java&#8221;, as well as &#8220;HippopotamusHandler.java&#8221;. However, if you spell out &#8220;H&#8221;, &#8220;H&#8221;, Eclipse uses fuzzy logic to find any resources that have &#8220;H&#8221; and &#8220;H&#8221; as the first 2 uppercased letters in their name, so your search would match against &#8220;HippopotamusHandler.java&#8221;, &#8220;HippopotamusHandler.java&#8221;, etc. thus greatly narrowing your choices and speeding up the search process, saving you literally 5&#8242;s of keystrokes. <a href="http://members.tripod.com/~AdamWest/robin.htm">Holy efficiency, Batman!</a></p>
<p>Today&#8217;s tip:</p>
<p>Ctrl-Shift-R: opens a resource</p>
<p>Ctrl-Shift-T: opens a type</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=9&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/07/fuzzy-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Now where did I put that bug?</title>
		<link>http://eclipsetips.wordpress.com/2007/12/06/now-where-did-i-put-that-bug/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/06/now-where-did-i-put-that-bug/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 16:34:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[here buggy buggy]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/06/now-where-did-i-put-that-bug/</guid>
		<description><![CDATA[I usually take code analysis tools with a grain of salt, and with an extra shot of espresso if it&#8217;s early, but one tool that has proven useful many times is FindBugs, which is available as an Eclipse plugin. It&#8217;s easy to install because it has an update site &#8211; so there&#8217;s no excuse, go grab it. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=11&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I usually take code analysis tools with a grain of salt, and with an extra shot of espresso if it&#8217;s early, but one tool that has proven useful many times is <a href="http://findbugs.sourceforge.net/">FindBugs</a>, which is available as an Eclipse <a href="http://findbugs.sourceforge.net/manual/eclipse.html">plugin</a>. It&#8217;s easy to install because it has an update site &#8211; so there&#8217;s no excuse, go grab it. To run, right-click your Java project and select the &#8220;Find Bugs&#8221; option. There are a few options for viewing the results: they appear as markers <img src="http://eclipsetips.files.wordpress.com/2007/11/buggy-tiny-orange.png?w=500" alt="buggy-tiny-orange.png" /> in open editors, there are specialized views (Window &gt; Show Views &gt; Other&#8230; &gt; FindBugs &#8211; start with Bug Tree View, the other views open automatically as you use this one) or you can see the results in the standard Problems view.</p>
<p>The FindBugs plugin is helpful when you are doing code reviews and, if you don&#8217;t tell anyone you&#8217;re using it, they&#8217;ll think you&#8217;re so clever for finding that &#8220;Load of known null value&#8221; or &#8220;May expose internal representation by incorporating reference to mutable object&#8221;&#8230; don&#8217;t worry, the names aren&#8217;t so confusing when you look at the code.</p>
<p>Today&#8217;s tip:</p>
<p>FindBugs plugin: a program which uses static analysis to look for bugs in Java code</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=11&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/06/now-where-did-i-put-that-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>

		<media:content url="http://eclipsetips.files.wordpress.com/2007/11/buggy-tiny-orange.png" medium="image">
			<media:title type="html">buggy-tiny-orange.png</media:title>
		</media:content>
	</item>
		<item>
		<title>So many refactorings to pick from&#8230;</title>
		<link>http://eclipsetips.wordpress.com/2007/12/05/so-many-refactorings-to-pick-from/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/05/so-many-refactorings-to-pick-from/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 15:20:26 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[refactoring]]></category>
		<category><![CDATA[...so much code to refactor]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/05/so-many-refactorings-to-pick-from/</guid>
		<description><![CDATA[Ok, by now we all know that REFACTORING IS GOOD. Say it again! Testify! But with so many refactoring choices in this workaday world, how is a developer to know which one to pick? Well, in a given situation Eclipse will guide you towards refactoring bliss by showing you a neat list of all the applicable refactorings. Select [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=28&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, by now we all know that <a href="http://www.ibm.com/developerworks/library/os-ecref/">REFACTORING IS GOOD</a>. <a href="http://www.peterprovost.org/archive/2003/05/21/491.aspx">Say it again</a>! <a href="http://patti.vox.com/library/post/refactoring-code.html">Testify</a>! But with so many refactoring choices in this workaday world, how is a developer to know which one to pick? Well, in a given situation Eclipse will guide you towards refactoring bliss by showing you a neat list of all the applicable refactorings. Select a symbol and hit Ctrl-Alt-T and a dropdown menu will appear, then select whichever refactoring that catches your fancy and you&#8217;ll be a few short clicks away from completing your refactoring. </p>
<p>Today&#8217;s tip:</p>
<p>Ctrl-Alt-T: show applicable refactorings</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=28&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/05/so-many-refactorings-to-pick-from/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Straight to the implementation</title>
		<link>http://eclipsetips.wordpress.com/2007/12/04/straight-to-the-implementation/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/04/straight-to-the-implementation/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 16:05:03 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[navigation]]></category>
		<category><![CDATA[don't bore me with your interfaces]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/04/straight-to-the-implementation/</guid>
		<description><![CDATA[In an earlier blog, I wrote about using F3 to navigate to the declaration of a symbol, say a method. This works great until you hit an interface type and need to find the actual implementation. One way to get the implementation is to hit F4, which shows the type hierarchy in a separate view. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=27&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In an earlier blog, I wrote about <a href="http://eclipsetips.wordpress.com/2007/11/14/hello-world/">using F3</a> to navigate to the declaration of a symbol, say a method. This works great until you hit an interface type and need to find the actual implementation. One way to get the implementation is to hit F4, which shows the type hierarchy in a separate view. The drawbacks of this are that although you can find an implementation, you&#8217;ll lose your place in the sense that it won&#8217;t automatically jump into the method you were interested in. A great alternative to F3-F4 is Ctrl-T.</p>
<p>Try highlighting a method call that is being made on an interface type and hit Ctrl-T. Eclipse will churn away for a second or so and then you&#8217;ll be presented with a dropdown list of implementers of the method. This is a very quick, very handy way to navigate directly to implementations without getting stuck at the interfaces.</p>
<p>Today&#8217;s tips:</p>
<p>Ctrl-T: quick type hierarchy</p>
<p>F4: type hierarchy in a view</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=27&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/04/straight-to-the-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Line dancing</title>
		<link>http://eclipsetips.wordpress.com/2007/12/03/line-dancing/</link>
		<comments>http://eclipsetips.wordpress.com/2007/12/03/line-dancing/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 08:47:23 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[editor]]></category>
		<category><![CDATA[you can tell my arms go back into the farm]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/12/03/line-dancing/</guid>
		<description><![CDATA[I have never gone line dancing and there&#8217;s a good chance that I never will. I&#8217;m not trying to make a statement about urban cowboys. Just saying is all. Eclipse has a way to make lines dance that Billy Ray Cyrus would be envious of. Alt-Up/Down cures your cut &#38; paste blues and automatically indents [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=26&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have never gone line dancing and there&#8217;s a good chance that I never will. I&#8217;m not trying to make a statement about urban cowboys. Just saying is all.</p>
<p>Eclipse has a way to make lines dance that <a href="http://www.youtube.com/watch?v=3EebObs-vC0&amp;feature=related">Billy Ray Cyrus</a> would be envious of. Alt-Up/Down cures your cut &amp; paste blues and automatically indents the line as it moves up and down the editor.</p>
<p>Today&#8217;s tip:</p>
<p>Alt-Up/Down: move line up/down</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=26&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/12/03/line-dancing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Sorry, you&#8217;re just not my type</title>
		<link>http://eclipsetips.wordpress.com/2007/11/30/sorry-youre-just-not-my-type/</link>
		<comments>http://eclipsetips.wordpress.com/2007/11/30/sorry-youre-just-not-my-type/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 15:38:51 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[search]]></category>
		<category><![CDATA[can I buy you a drink? sorry I'd rather have the money]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/11/30/sorry-youre-just-not-my-type/</guid>
		<description><![CDATA[You know how sometimes when you&#8217;re out at a bar with your hot friends and even though you&#8217;re drunk and it&#8217;s really late you can still tell that the person who&#8217;s checking you out is not your type? No? Me neither&#8230; I&#8217;d much more likely be the unlucky one doing the checking out. Well, at least Eclipse gives us [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=24&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You know how sometimes when you&#8217;re out at a bar with your hot friends and even though you&#8217;re drunk and it&#8217;s really late you can still tell that the person who&#8217;s checking you out is not your type? No? Me neither&#8230; I&#8217;d much more likely be the unlucky one doing the checking out. Well, at least Eclipse gives us the ability to filter out types that are uninteresting to you. Now the tables have turned and the rejectee becomes the rejecter. <a href="http://www.craigslist.org/about/best/lax/11398878.html">Take that</a>, hot people at the bars!</p>
<p>Eclipse has many functions that involve searching for classes, auto-completion, organize imports, etc. and it can be frustrating if the class you&#8217;re looking for is defined in other libraries that you never want to use because you&#8217;ll always have to manually select it. For example, if you try to use (java.util.)List, Eclipse will prompt you to select either java.util.List or java.awt.List. Well, I am not an AWT developer so I&#8217;d prefer to ignore those options. We can configure a type filter by going to Window &gt; Preferences &gt; Java &gt; Appearance &gt; Type Filters. I added java.awt.* to my list of filters and now Eclipse will automatically select java.util.List when I attempt to use it.</p>
<p>Today&#8217;s tip:</p>
<p>Window &gt; Preferences &gt; Java &gt; Appearance &gt; Type Filters: configure type filters for content assist or quick fix proposals.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=24&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/11/30/sorry-youre-just-not-my-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>
	</item>
		<item>
		<title>Content assist and templates</title>
		<link>http://eclipsetips.wordpress.com/2007/11/29/content-assist-and-templates/</link>
		<comments>http://eclipsetips.wordpress.com/2007/11/29/content-assist-and-templates/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 16:04:30 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[editor]]></category>
		<category><![CDATA[look ma no hands]]></category>

		<guid isPermaLink="false">http://eclipsetips.wordpress.com/2007/11/29/content-assist-and-templates/</guid>
		<description><![CDATA[Let&#8217;s face it, we&#8217;d all like to do a little less typing and a little more sailing, wouldn&#8217;t we? Ctrl-space is the jack-of-all-trades keystroke that will have you typing less and hitting the water in no time. It goes by the intriguing name of &#8220;Content Assist&#8221; and I must admit that it&#8217;s a little hard to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=21&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s face it, we&#8217;d all like to do a little less typing and a little more <a href="http://www.43things.com/things/view/5666/learn-to-sail">sailing</a>, wouldn&#8217;t we? Ctrl-space is the jack-of-all-trades keystroke that will have you typing less and hitting the water in no time. It goes by the intriguing name of &#8220;Content Assist&#8221; and I must admit that it&#8217;s a little hard to describe exactly what it does but basically, if you type it Eclipse will figure out depending on your context (i.e. where the cursor is) a whole bunch of useful ways to assist you by autogenerating code. One particularly interesting use of Content Assist is with templates. Simply type a keyword (that you can configure &#8211; more on that later), hit Ctrl-space, and a drop down of choices will appear. Where you see this icon <img src="http://eclipsetips.files.wordpress.com/2007/11/template_obj.gif?w=500" alt="template_obj.gif" /> beside an option, it means that Eclipse can drop some template code into the editor. Here&#8217;s an example: let&#8217;s add a new unit test method. Open up a test class, find a blank line and type &#8220;Test&#8221; then Ctrl-space. If you&#8217;re using <a href="http://www-128.ibm.com/developerworks/java/library/j-junit4.html">JUnit4</a>, one of your choices will be &#8220;Test &#8211; test method (JUnit 4)&#8221;. Select it and Eclipse will generate a template for a JUnit 4 test method:<br />
<font size="2"><br />
<font color="#646464">@Test</font><br />
<strong><font color="#7f0055">public</font></strong> <strong><font color="#7f0055">void</font></strong> <u>testname</u>() <strong><font color="#7f0055">throws</font></strong> Exception {</font></p>
<p><font size="2">}</font></p>
<p>Nice! There are many other examples of Content Assist templates, all of which can be configured however you like in Window &gt; Preferences &gt; Java &gt; Editor &gt; Templates. You can add new ones as well.</p>
<p>Today&#8217;s tip:</p>
<p>Ctrl-space: Content Assist to select template code</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eclipsetips.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eclipsetips.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eclipsetips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eclipsetips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eclipsetips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eclipsetips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eclipsetips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eclipsetips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eclipsetips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eclipsetips.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eclipsetips.wordpress.com&amp;blog=2131190&amp;post=21&amp;subd=eclipsetips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eclipsetips.wordpress.com/2007/11/29/content-assist-and-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a1c8e6647e464a27a6a20e8591726fab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">David</media:title>
		</media:content>

		<media:content url="http://eclipsetips.files.wordpress.com/2007/11/template_obj.gif" medium="image">
			<media:title type="html">template_obj.gif</media:title>
		</media:content>
	</item>
	</channel>
</rss>
