<?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>Shawn&#039;s Blog &#187; Eclipse</title>
	<atom:link href="http://shawnkercher.com/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://shawnkercher.com</link>
	<description>check this out</description>
	<lastBuildDate>Mon, 02 Aug 2010 04:35:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging Tomcat using Eclipse &#8216;Remote Java Application&#8217;</title>
		<link>http://shawnkercher.com/2010/08/01/debugging-tomcat-using-eclipse-remote-java-application/</link>
		<comments>http://shawnkercher.com/2010/08/01/debugging-tomcat-using-eclipse-remote-java-application/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 04:35:18 +0000</pubDate>
		<dc:creator>ruggershawn</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://shawnkercher.com/?p=62</guid>
		<description><![CDATA[It&#8217;s often useful debugging tomcat using eclipse remote java application.
Here are instructions for doing so:
1)      Open %tomcat_home%\bin\tomcat6w.exe which will open a configuration UI.
2)      Select the Java tab and enter two Java Options at the bottom:
a.       –Xdebug
b.      -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8005
 i.      8005 is the port – you can pick any available port 




3)      Restart your tomcat service.
4)      From Eclipse, set [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s often useful debugging tomcat using eclipse remote java application.</p>
<p>Here are instructions for doing so:</p>
<p>1)      Open %tomcat_home%\bin\tomcat6w.exe which will open a configuration UI.</p>
<p>2)      Select the Java tab and enter two Java Options at the bottom:</p>
<pre>a.       –Xdebug</pre>
<pre>b.      -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8005</pre>
<address> <span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">i.      8005 is the port – you can pick any available port </span></address>
<address><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;"><br />
</span></address>
<address></address>
<p><a href="http://shawnkercher.com/wp-content/uploads/2010/08/tomcat.png"><img title="tomcat" src="http://shawnkercher.com/wp-content/uploads/2010/08/tomcat.png" alt="" width="424" height="403" /></a></p>
<p>3)      Restart your tomcat service.</p>
<p>4)      From Eclipse, set up a Debug Configuration under Remote Java Application (as usual for debugging)</p>
<p><a href="http://shawnkercher.com/wp-content/uploads/2010/08/eclipse.png"><img class="alignnone size-full wp-image-78" title="eclipse" src="http://shawnkercher.com/wp-content/uploads/2010/08/eclipse.png" alt="" width="580" height="646" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://shawnkercher.com/2010/08/01/debugging-tomcat-using-eclipse-remote-java-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Tips and Shortcuts</title>
		<link>http://shawnkercher.com/2009/11/15/eclipse-tips-and-shortcuts/</link>
		<comments>http://shawnkercher.com/2009/11/15/eclipse-tips-and-shortcuts/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:01:22 +0000</pubDate>
		<dc:creator>ruggershawn</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://shawnkercher.com/?p=15</guid>
		<description><![CDATA[Here is a list of the most commonly used shortcuts and tips our development team uses. I believe mastering these shortcuts help developers be more efficient in their software development.
I am always looking for more tips. If you have any tips that I am missing below please comment!!
Enjoy!!
Shortcuts
Most Common



Delete line
ctrl + d


Go to Method
ctrl + [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of the most commonly used shortcuts and tips our development team uses. I believe mastering these shortcuts help developers be more efficient in their software development.</p>
<p>I am always looking for more tips. If you have any tips that I am missing below please comment!!</p>
<p>Enjoy!!</p>
<h2 id="Shortcuts">Shortcuts</h2>
<h3 id="MostCommon">Most Common</h3>
<table border="1">
<tbody>
<tr>
<td>Delete line</td>
<td>ctrl + d</td>
</tr>
<tr>
<td>Go to Method</td>
<td>ctrl + o</td>
</tr>
<tr>
<td>Format Code</td>
<td>ctrl + shift + f</td>
</tr>
<tr>
<td>Last Edit</td>
<td>ctrl + q</td>
</tr>
<tr>
<td>Line Number</td>
<td>ctrl + l</td>
</tr>
<tr>
<td>Move line(s)</td>
<td>alt + up/down</td>
</tr>
<tr>
<td>Open Resource</td>
<td>ctrl + shift + r</td>
</tr>
<tr>
<td>Open Proj Prop</td>
<td>alt + enter</td>
</tr>
<tr>
<td>Open Type</td>
<td>ctrl + shift + t</td>
</tr>
<tr>
<td>Run Java App</td>
<td>alt + shift + x, j</td>
</tr>
<tr>
<td>Run JUnit</td>
<td>alt + shift + x, t</td>
</tr>
<tr>
<td>Shortcut List</td>
<td>ctrl + shift + l</td>
</tr>
</tbody>
</table>
<h3 id="RefactoringTips">Refactoring Tips</h3>
<table class="wiki" border="1">
<tbody>
<tr>
<td>Extract Method</td>
<td>alt + shift + m</td>
</tr>
<tr>
<td>Extract Variable</td>
<td>alt + shift + l</td>
</tr>
<tr>
<td>Rename</td>
<td>alt + shift + r</td>
</tr>
<tr>
<td>Surround</td>
<td>alt + shift + z</td>
</tr>
</tbody>
</table>
<h3 id="Templates">Templates</h3>
<p>Go to <strong>Windows-&gt;Preferences-&gt;Java-&gt;Editor-&gt;Templates</strong></p>
<p>To Activate templates press <strong>ctrl + space</strong> after command</p>
<table border="1">
<tbody>
<tr>
<td>For loop</td>
<td>for</td>
</tr>
<tr>
<td>If statement</td>
<td>if</td>
</tr>
<tr>
<td>Main Method</td>
<td>main</td>
</tr>
<tr>
<td>System.out.println()</td>
<td>sysout</td>
</tr>
<tr>
<td>System.err.println()</td>
<td>syserr</td>
</tr>
<tr>
<td>While statement</td>
<td>while</td>
</tr>
</tbody>
</table>
<h4 id="CustomTemplates">Custom Templates</h4>
<ul>
<li>Logger
<ul>
<li>private static final Logger logger = Logger.getLogger(${enclosing_type}.class);</li>
</ul>
</li>
</ul>
<h3 id="AutomaticallyOrganizeImportsonsave">Automatically Organize Imports on save</h3>
<p>Eclipse is capable of adding imports to your classes automatically which is surely one of the most used features. The command can easily be accessed by using the appropriate keyboard shortcut. I recommend to let Eclipse automatically organize imports on save. Go to <strong>Preferences -&gt; Java -&gt; Editor -&gt; Save Actions</strong> and activate <strong>Organize Imports</strong></p>
<p><em> </em></p>
<div style=”float:right”>
<?php if(function_exists('digg_digg_dzone_generate')) { digg_digg_dzone_generate(); } ?>
</div>
]]></content:encoded>
			<wfw:commentRss>http://shawnkercher.com/2009/11/15/eclipse-tips-and-shortcuts/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
