<?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>teamzone.ch &#187; Eclipse</title>
	<atom:link href="http://teamzone.ch/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://teamzone.ch</link>
	<description>Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.</description>
	<lastBuildDate>Sat, 05 Jun 2010 13:23:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eclipse Hint: Search &amp; Replace in Files</title>
		<link>http://teamzone.ch/2009/08/19/eclipse-hint-search-replace-in-files/</link>
		<comments>http://teamzone.ch/2009/08/19/eclipse-hint-search-replace-in-files/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:27:55 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://teamzone.ch/?p=431</guid>
		<description><![CDATA[I always wondered, how I can search and replace in multiple files with Eclipse. I always searched for a &#8220;Search &#38; Replace&#8221; dialog. I never found one. But a search &#38; replace in multiple files is possible. First, just perform a usual file search (CTRL + H). All the search results gets displayed in the [...]]]></description>
			<content:encoded><![CDATA[<p>I always wondered, how I can search and replace in multiple files with Eclipse. I always searched for a &#8220;Search &amp; Replace&#8221; dialog. I never found one. But a search &amp; replace in multiple files is possible. First, just perform a usual file search (CTRL + H). All the search results gets displayed in the &#8220;Search&#8221; view. And there, it is possible to replace the searched keyword in selected or all found files. Just do a right-click.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/08/eclipse_replace_all1.png"  rel="lightbox[roadtrip]"><img class="alignnone size-full wp-image-437" title="eclipse_replace_all" src="http://teamzone.ch/wp-content/uploads/2009/08/eclipse_replace_all1.png" alt="eclipse_replace_all" width="392" height="360" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/08/19/eclipse-hint-search-replace-in-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.5 &#8211; Galileo</title>
		<link>http://teamzone.ch/2009/07/08/eclipse-3-5-galileo/</link>
		<comments>http://teamzone.ch/2009/07/08/eclipse-3-5-galileo/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 06:26:28 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://teamzone.ch/?p=422</guid>
		<description><![CDATA[On the Eclipse homepage you will find a very nice description about all new features in Galileo.
In a view of a Java developer, there are not a lot of new features. German readers will find at jaxenter a nice article with all new Java features.
The only one, which seems noteworthy, is the new toString() wizard:

]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://archive.eclipse.org/eclipse/downloads/drops/S-3.5M7-200904302300/eclipse-news-M7.html">Eclipse homepage</a> you will find a very nice description about all new features in Galileo.</p>
<p>In a view of a Java developer, there are not a lot of new features. German readers will find at <a href="http://it-republik.de/jaxenter/artikel/Entdeckertour-Was-gibt%92s-Neues-in-Eclipse-JDT-2407.html">jaxenter</a> a nice article with all new Java features.</p>
<p>The only one, which seems noteworthy, is the new toString() wizard:</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/07/eclipse_galileo_tostring_generator.png"  rel="lightbox[roadtrip]"><img class="size-full wp-image-423 alignnone" title="eclipse_galileo_tostring_generator" src="http://teamzone.ch/wp-content/uploads/2009/07/eclipse_galileo_tostring_generator.png" alt="eclipse_galileo_tostring_generator" width="428" height="621" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/07/08/eclipse-3-5-galileo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schedule CVS Synchronization in Eclipse</title>
		<link>http://teamzone.ch/2009/02/03/schedule-cvs-synchronization-in-eclipse-2/</link>
		<comments>http://teamzone.ch/2009/02/03/schedule-cvs-synchronization-in-eclipse-2/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 20:28:07 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2009/02/03/schedule-cvs-synchronization-in-eclipse-2/</guid>
		<description><![CDATA[Source Control like CVS or Subversion is used almost in every software project. As a developer, it&#8217;s your responsibility to be up to date with the current version from the source control system. In Eclipse there is a nice feature to schedule such synchronizations. This means, you get regularly informed about all updates and you [...]]]></description>
			<content:encoded><![CDATA[<p>Source Control like CVS or Subversion is used almost in every software project. As a developer, it&#8217;s your responsibility to be up to date with the current version from the source control system. In Eclipse there is a nice feature to schedule such synchronizations. This means, you get regularly informed about all updates and you have less merging problems!</p>
<p>&nbsp;</p>
<p><span id="more-311"></span></p>
<p>Just open the Team Synchronization Perspective, open the View’s menu and choose Schedule…</p>
<p><a rel="lightbox" href="http://teamzone.ch/wp-content/uploads/2009/02/image.png"  rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://teamzone.ch/wp-content/uploads/2009/02/image-thumb.png" border="0" alt="image" width="554" height="222" /></a></p>
<p>Define the time schedule and press okay. That’s it.</p>
<p><a rel="lightbox" href="http://teamzone.ch/wp-content/uploads/2009/02/clip-image004.jpg"  rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" src="http://teamzone.ch/wp-content/uploads/2009/02/clip-image004-thumb.jpg" border="0" alt="clip_image004" width="336" height="181" /></a></p>
<p>Now, you’re almost always up to date!</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/02/03/schedule-cvs-synchronization-in-eclipse-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expressions in Eclipse Debugger</title>
		<link>http://teamzone.ch/2008/12/12/expressions-in-eclipse-debugger/</link>
		<comments>http://teamzone.ch/2008/12/12/expressions-in-eclipse-debugger/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 21:28:38 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/12/12/expressions-in-eclipse-debugger/</guid>
		<description><![CDATA[Today, I encountered a very helpful feature in Eclipse. When I am debugging code, I sometimes want to know, what’s the result of a method is. If the result it’s not assigned to a variable, it gets complicated. Take a look to this example: what is the result of add(17,19)? 

public class DemoApplication &#123;
&#160;
  [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I encountered a very helpful feature in Eclipse. When I am debugging code, I sometimes want to know, what’s the result of a method is. If the result it’s not assigned to a variable, it gets complicated. Take a look to this example: what is the result of add(17,19)? </p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> DemoApplication <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">Exception</span> <span style="color: #009900;">&#123;</span>
        DemoApplication calc <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DemoApplication<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>calc.<span style="color: #006633;">divide</span><span style="color: #009900;">&#40;</span>calc.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">17</span>, <span style="color: #cc66cc;">19</span><span style="color: #009900;">&#41;</span>, <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">int</span> add<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i, <span style="color: #000066; font-weight: bold;">int</span> j<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">return</span> i <span style="color: #339933;">+</span> j<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">int</span> divide<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i, <span style="color: #000066; font-weight: bold;">int</span> j<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">return</span> i <span style="color: #339933;">/</span> j<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>In earlier times, I stepped one step further to get into the method divide. Then I got the result of add(17,19) in my parameter. </p>
<p>&#160;</p>
<p><span id="more-263"></span></p>
<p>But Eclipse is offering a better solution. In the Debugging Perspective, there is a view called Expressions. Just add a new expression add(17,19) and the Debugger is printing out the result.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/12/image35.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="259" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/12/image-thumb35.png" width="404" border="0" /></a> </p>
<p>The result is directly printed out:</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/12/image36.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="214" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/12/image-thumb36.png" width="489" border="0" /></a> </p>
<p>&#160;</p>
<p>A simple, but helpful feature in Eclipse!</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/12/12/expressions-in-eclipse-debugger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Clean up your Java code</title>
		<link>http://teamzone.ch/2008/11/09/clean-up-your-java-code/</link>
		<comments>http://teamzone.ch/2008/11/09/clean-up-your-java-code/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 11:26:37 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/11/09/clean-up-your-java-code/</guid>
		<description><![CDATA[In Eclipse, there is a nice feature to clean up Java code. First, you can change the Clean Up profile (Window – Preferences) and define, how you want the code should look like.

There are interesting clean ups like “Remove unnecessary casts” or to add missing Annotations like “@Override”. 
 
After creating your profile, simply right [...]]]></description>
			<content:encoded><![CDATA[<p>In Eclipse, there is a nice feature to clean up Java code. First, you can change the Clean Up profile (Window – Preferences) and define, how you want the code should look like.</p>
<p><a href="http://blog.stefanjaeger.ch/wp-content/image32.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="318" alt="image" src="http://blog.stefanjaeger.ch/wp-content/image-thumb32.png" width="450" border="0" /></a></p>
<p>There are interesting clean ups like “Remove unnecessary casts” or to add missing Annotations like “@Override”. </p>
<p><a href="http://blog.stefanjaeger.ch/wp-content/image33.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="365" alt="image" src="http://blog.stefanjaeger.ch/wp-content/image-thumb33.png" width="450" border="0" /></a> </p>
<p>After creating your profile, simply right click to the project and choose Source – Clean up.</p>
<p>Nice feature. If you want to know more about this feature, you will find <a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-clean/index.html">here</a> more information’s.</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/11/09/clean-up-your-java-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Magic Shortcut in Eclipse</title>
		<link>http://teamzone.ch/2008/09/23/the-magic-shortcut-in-eclipse/</link>
		<comments>http://teamzone.ch/2008/09/23/the-magic-shortcut-in-eclipse/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 20:12:52 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/09/23/the-magic-shortcut-in-eclipse/</guid>
		<description><![CDATA[After the ultimate shortcut, which I mentioned here, there’s another nice shortcut in Eclipse: CTRL + 1. This shortcut helps you almost in every situation. Let me mention two examples (there a lot more, just try it out):
&#160;
Use CTRL + 1 to assign a parameter of a constructor as a field:
 
 
&#160;
Or use CTRL [...]]]></description>
			<content:encoded><![CDATA[<p>After the ultimate shortcut, which I mentioned <a href="http://blog.stefanjaeger.ch/2008/06/19/real-men-dont-click/">here</a>, there’s another nice shortcut in Eclipse: CTRL + 1. This shortcut helps you almost in every situation. Let me mention two examples (there a lot more, just try it out):</p>
<p>&#160;</p>
<p>Use CTRL + 1 to assign a parameter of a constructor as a field:</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/09/image25.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="246" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/09/image-thumb25.png" width="450" border="0" /></a> </p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/09/image26.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="158" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/09/image-thumb26.png" width="270" border="0" /></a> </p>
<p>&#160;</p>
<p>Or use CTRL + 1 to extract a String or another variable to a constant:</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/09/image27.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="247" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/09/image-thumb27.png" width="443" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/09/23/the-magic-shortcut-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>real men don&#8217;t click</title>
		<link>http://teamzone.ch/2008/06/19/real-men-dont-click/</link>
		<comments>http://teamzone.ch/2008/06/19/real-men-dont-click/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 18:33:07 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/06/19/real-men-dont-click/</guid>
		<description><![CDATA[
Are you a real men (or women)? Because if you are one, Eclipse offers you the possiblity to “don’t click”   Try to use the simple shortcut CTRL + 3. What happens? Eclipse opens the Quick access window:
 
&#160;
Now, type what you want, for example “new xml file”, and Eclipse searches for the command, [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>Are you a real men (or women)? Because if you are one, Eclipse offers you the possiblity to “don’t click” <img src='http://teamzone.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Try to use the simple shortcut CTRL + 3. What happens? Eclipse opens the Quick access window:</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/06/image21.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" height="311" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/06/image-thumb21.png" width="267" border="0" /></a> </p>
<p>&#160;</p>
<p>Now, type what you want, for example “new xml file”, and Eclipse searches for the command, which consists of these words:</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/06/image22.png"  rel="lightbox" rel="lightbox[roadtrip]"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="309" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/06/image-thumb22.png" width="267" border="0" /></a> </p>
</p>
</p>
</p>
</p>
</p>
</p>
<p>&#160;</p>
<p>Also very interesting is the access to the Preferences window. Try to search for “classpath variables” or “build path”, you get direct access to these settings. Also interesting is “Generate Getters”. If you don’t know a specific shortcut, just use CTRL + 3 from now on!</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/06/19/real-men-dont-click/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Inherited methods in Eclipse</title>
		<link>http://teamzone.ch/2008/06/04/inherited-methods-in-eclipse/</link>
		<comments>http://teamzone.ch/2008/06/04/inherited-methods-in-eclipse/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 19:52:47 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/06/04/inherited-methods-in-eclipse/</guid>
		<description><![CDATA[If you press CTRL + O in Eclipse, a list with all members and methods shows up. Red highlighted are private members/methods, green public ones. But unfortunately, inherited methods are invisible.
 
Now, just press CTRL + O again and you can see all inherited methods. 
 
I know, the hint is mentioned in the bottom [...]]]></description>
			<content:encoded><![CDATA[<p>If you press CTRL + O in Eclipse, a list with all members and methods shows up. Red highlighted are private members/methods, green public ones. But unfortunately, inherited methods are invisible.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/06/image19.png"  rel="lightbox[roadtrip]"><img title="image" height="249" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/06/image-thumb19.png" width="308"></a> </p>
<p>Now, just press CTRL + O again and you can see all inherited methods. </p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/06/image20.png"  rel="lightbox[roadtrip]"><img title="image" height="277" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/06/image-thumb20.png" width="315"></a> </p>
<p>I know, the hint is mentioned in the bottom right corner, but I didn’t noticed this until today…</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/06/04/inherited-methods-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is the Console window always popping up in Eclipse?</title>
		<link>http://teamzone.ch/2008/05/09/is-the-console-window-always-popping-up-in-eclipse/</link>
		<comments>http://teamzone.ch/2008/05/09/is-the-console-window-always-popping-up-in-eclipse/#comments</comments>
		<pubDate>Fri, 09 May 2008 18:02:10 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/05/09/is-the-console-window-always-popping-up-in-eclipse/</guid>
		<description><![CDATA[If you double click on a tab in Eclipse, the tab get&#8217;s opened all over the window. Now, if there is a build process running in the console, the console is always popping up. This is a little bit annoying. But there is a simple trick to solve this situation. Just disable &#8220;Show Console When [...]]]></description>
			<content:encoded><![CDATA[<p>If you double click on a tab in Eclipse, the tab get&#8217;s opened all over the window. Now, if there is a build process running in the console, the console is always popping up. This is a little bit annoying. But there is a simple trick to solve this situation. Just disable &#8220;Show Console When Standard Out Changes&#8221; and the console will not pop up again.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2008/05/image18.png"  rel="lightbox[roadtrip]"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="123" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/05/image-thumb18.png" width="369" border="0"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/05/09/is-the-console-window-always-popping-up-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Templates in Eclipse</title>
		<link>http://teamzone.ch/2008/03/07/templates-in-eclipse/</link>
		<comments>http://teamzone.ch/2008/03/07/templates-in-eclipse/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 19:13:53 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.stefanjaeger.ch/2008/03/07/templates-in-eclipse/</guid>
		<description><![CDATA[Everybody, who&#8217;s working with Eclipse is knows the Content Assistant (better known as Code Completion). Just press CTRL + Space, and every possible piece of code gets completed.
But did you know, that Eclipse is also capable of using templates. Templates can be defined in Window &#8211; Preferences &#8211; Java &#8211; Editor &#8211; Templates.   [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody, who&#8217;s working with Eclipse is knows the Content Assistant (better known as Code Completion). Just press CTRL + Space, and every possible piece of code gets completed.</p>
<p>But did you know, that Eclipse is also capable of using templates. Templates can be defined in Window &#8211; Preferences &#8211; Java &#8211; Editor &#8211; Templates.    <br /><a href="http://teamzone.ch/wp-content/uploads/2008/03/image7.png"  rel="lightbox[roadtrip]"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/03/image-thumb7.png" width="243" border="0" /></a> </p>
<p>For example, instead of typing the main function every time manually, just type main and press CTRL + Space, choose the template main and press Enter. The whole main method is created.    <br /><a href="http://teamzone.ch/wp-content/uploads/2008/03/image8.png"  rel="lightbox[roadtrip]"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="141" alt="image" src="http://teamzone.ch/wp-content/uploads/2008/03/image-thumb8.png" width="275" border="0" /></a> </p>
<p>&#160;</p>
<p>Interesting default templates are:</p>
<p><strong>sysout:</strong> creates a System.out.println() entry</p>
<p><strong>runnable:</strong> creates a complete Runnable inner class</p>
<p><strong>public_method:</strong> template for a public method (same with private, default, and so on)</p>
<p>&#160;</p>
<p>Of course, you also can define your own template. E.g. for an EJB 3.0 stateless or message-driven bean!</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2008/03/07/templates-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
