<?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>Ryan Phelan &#187; Eclipse</title>
	<atom:link href="http://www.rphelan.com/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rphelan.com</link>
	<description>Exploring Flex, Design, and Visualization</description>
	<lastBuildDate>Thu, 12 Aug 2010 14:56:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Quickly Access Adobe Help Docs in Eclipse</title>
		<link>http://www.rphelan.com/2009/03/03/quickly-access-adobe-help-docs-in-eclipse/</link>
		<comments>http://www.rphelan.com/2009/03/03/quickly-access-adobe-help-docs-in-eclipse/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 23:34:32 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Timesavers]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=263</guid>
		<description><![CDATA[I had someone ask me today about an easy way to open up a specific topic in the Adobe help docs when writing code in Eclipse.  The quickest method is to click on or select a class, property or method and press Shift+F2.  This will open up the docs in a new window. An alternative [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I had someone ask me today about an easy way to open up a specific topic in the Adobe help docs when writing code in Eclipse.  The quickest method is to click on or select a <em>class</em>, <em>property</em> or <em>method </em>and press Shift+F2.  This will open up the docs in a new window.</p>
<p style="text-align: left;">An alternative would be to click the "Show View as a fast view" icon in the lower left hand corner of the Eclipse window and choose "Help".  When the Help view pops up, make sure "Related Topics" is selected.  To hide a fast view, simply click anywhere outside of it.  Now, if you click on or select a <em>class</em>, <em>property</em> or <em>method </em>and then click the Help fast view - it will display a list of help topics that are related to your selection.  This approach may not be as quick or graceful as Shift+F2, but the advantage is that it offers links to related articles in addition to the regular as docs.</p>
<p style="text-align: left;"><em>See it in action:</em></p>
<p style="text-align: left;"><a href="http://www.rphelan.com/flex/uploads/2009/03/helpfastview.jpg"><img class="size-thumbnail wp-image-264 alignnone" title="Help - Fast View" src="http://www.rphelan.com/flex/uploads/2009/03/helpfastview-150x150.jpg" alt="Help - Fast View" width="150" height="150" /></a></p>
<p style="text-align: left;">Please keep in mind that these techniques will only give you the official Adobe documentation.  Your docs, and 3rd party library docs will not show up in the help view.</p>
<p style="text-align: left;">If anyone has any other fancy tricks, let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/03/03/quickly-access-adobe-help-docs-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m Back</title>
		<link>http://www.rphelan.com/2009/01/15/im-back/</link>
		<comments>http://www.rphelan.com/2009/01/15/im-back/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 15:03:34 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=244</guid>
		<description><![CDATA[So it's been a long time since I've posted.  Between work, the holidays, and buying my first house I've been super busy lately.  Starting with this post, I'm going to try to get back into my old rhythm again.  I've got some new components and experiments in the works, but for now I'll leave you [...]]]></description>
			<content:encoded><![CDATA[<p>So it's been a long time since I've posted.  Between work, the holidays, and buying my first house I've been super busy lately.  Starting with this post, I'm going to try to get back into my old rhythm again.  I've got some new components and experiments in the works, but for now I'll leave you with a little Flex Builder/Eclipse trick.</p>
<p><strong>The problem:</strong> You or a team member exported a Flex project archive, and now you want to import it back into your workspace but you are receiving the following message -  <code>A project with the same name already exists in your workspace. Rename or delete the existing project.</code> It's nice of Eclipse not to allow you to overwrite an existing project, but an option to import it with a different project name would be nice.</p>
<p><strong>The solution:</strong> Unzip your Flex project archive.  Open up the file called .project in a text editor (e.g. notepad).  Under &lt;projectDescription&gt; there should be an element called &lt;name&gt;.  Change this value to something unique within your workspace (appending a "2" usually does the trick).  Open Flex Builder and import the modified project.</p>
<p>Anyone know of a more automated solution?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2009/01/15/im-back/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex Builder Shortcuts and Timesavers</title>
		<link>http://www.rphelan.com/2008/08/01/flex-builder-shortcuts-and-timesavers/</link>
		<comments>http://www.rphelan.com/2008/08/01/flex-builder-shortcuts-and-timesavers/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 17:55:13 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Timesavers]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=48</guid>
		<description><![CDATA[These are a few shortcuts that I've worked into my development routine that I couldn't live without. Shortcuts: Go to Definition:  Ctrl+Click on function name or variable to go to it's definition. Auto Complete:  Ctrl+Space will bring up that handy list of auto-completion options. Ctrl+/:  Comments or uncomments the selected line(s). Ctrl+Shift+C:  Adds or removes [...]]]></description>
			<content:encoded><![CDATA[<p>These are a few shortcuts that I've worked into my development routine that I couldn't live without.</p>
<h4>Shortcuts:</h4>
<ol>
<li>Go to Definition:  Ctrl+Click on function name or variable to go to it's definition.</li>
<li>Auto Complete:  Ctrl+Space will bring up that handy list of auto-completion options.</li>
<li>Ctrl+/:  Comments or uncomments the selected line(s).</li>
<li>Ctrl+Shift+C:  Adds or removes block comment to selection.</li>
<li>Quick Outline:  Press Ctrl+O when editing an .as or .mxml file to get a list of class variables and functions.  You can type a few characters to filter the list, and when you select one, the editor will jump to the definition.  This is way faster than using the outline window or Ctrl+F to search for something.</li>
<li>Ctrl+Shift+T:  Browse all class types, select one to view the class definition.</li>
<li>Alt+Down &amp; Alt+Up:  Moves the selected line(s) up or down.  This is great for re-ordering variable declarations, mxml attributes, etc.</li>
<li>Ctrl+Alt+Down &amp; Ctrl+Alt+Up:  Copies the selected line(s) and pastes them above or below.  Combines 3 steps (select, copy, paste) into one!</li>
<li>Alt+Left &amp; Alt+Right:  Work like your browser's back and forward buttons for your navigation history.  This is especially useful when you are control-clicking or "quick-outlining" to function or variable definitions.</li>
</ol>
<h4>Other Savory Tips:</h4>
<ol>
<li>To create a series of nested folders in the project navigator, open the new-&gt;folder dialog and enter a path (e.g. com/rphelan/controls).  Eclipse will automatically create all folders in the path if they don't already exist.  This is very useful when first creating a project.</li>
<li>You can double-click to maximize/restore any panel in Eclipse.  I frequently expand my editor window to show the maximum amount of code possible.  (Note:  this does not legitimize writing super long lines of code.  I recommend wrapping at around 80 characters)</li>
</ol>
<p>If several of these are new to you, try out just one or two at a time and see how you like them.  Once they are second nature, try adding a few more.  My theory is that the less I have to rely on my mouse when developing the better.</p>
<p>Want to learn more?  Don't forget that you can bring up a list of relevant shortcut key options at any time by pressing Ctrl+Shift+L.</p>
<p><strong>Note:</strong> Mac users - just swap out the command key for control in each of these combos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/08/01/flex-builder-shortcuts-and-timesavers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Some Useful Eclipse Plugins for Flex Developers</title>
		<link>http://www.rphelan.com/2008/05/01/some-useful-eclipse-plugins-for-flex-developers/</link>
		<comments>http://www.rphelan.com/2008/05/01/some-useful-eclipse-plugins-for-flex-developers/#comments</comments>
		<pubDate>Thu, 01 May 2008 23:00:02 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[Memory Management]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[RegEx]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=29</guid>
		<description><![CDATA[These are some of the plugins I've been experimenting with lately to improve workflow, performance, etc. AnyEdit Tools Adds a bunch of useful tools into the right-click context menu, in a submenu called "Convert". My personal favorites are the "Convert -> Leading tabs to spaces" and "Convert -> Leading spaces to tabs". I know that [...]]]></description>
			<content:encoded><![CDATA[<p>These are some of the plugins I've been experimenting with lately to improve workflow, performance, etc.</p>
<h4><a href="http://andrei.gmxhome.de/anyedit/index.html">AnyEdit Tools</a></h4>
<p>Adds a bunch of useful tools into the right-click context menu, in a submenu called "Convert". My personal favorites are the "Convert <code>-></code> Leading tabs to spaces" and "Convert <code>-></code> Leading spaces to tabs".  I know that the <a href="http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions">Flex Coding Conventions</a> tell you not to use tabs, but I prefer tabs to spaces in my own code because it keeps everything nicely formatted and easy to maintain.  If I need to say, paste some code into a blog entry, I use the AnyEdit tools to convert those tabs back to spaces so that it displays correctly.  I also frequently copy and paste bits of code found on websites, the user documentation, etc. into my source, and want to convert those tabs back to spaces.  Huge time saver!</p>
<ul>
<li>Convert <code>-></code> Camel <code><-></code> Underscores</li>
<li>Convert <code>-></code> Leading tabs to spaces</li>
<li>Convert <code>-></code> Leading spaces to tabs</li>
<li>Convert <code>-></code> Chars to html entities</li>
<li>Convert <code>-></code> Html entities to chars</li>
<li>Convert <code>-></code> To / From Unicode notation</li>
<li>Convert <code>-></code> To / From Base64</li>
</ul>
<h4><a href="http://regex-util.sourceforge.net/description.html">RegEx Editor</a></h4>
<p>This is a "View" that you can add to your perspective via Window <code>-></code> Show View <code>-></code> Other <code>-></code> Regex Util.  You can enter a regular expression and a string to test against.  It supports syntax highlighting and has very useful tooltips for characters that are part of regular expression syntax.</p>
<h4><a href="http://www.eclipse.org/mylyn/">Mylyn</a></h4>
<p>I'm experimenting with using this at work to connect to our <a href="http://www.atlassian.com/software/jira/">JIRA </a>repository.  (You could use it to connect to <a href="https://bugs.adobe.com/">Adobe's bug tracking system</a> too).  Also works for Bugzilla, Trac, and possibly others.  Its cool that it pops up a message right in Eclipse whenever a new task is assigned to you, and also that you can tightly integrate it into your regular workflow.  The downside is that it seems to be lacking some of the basic features that the web interface has which (because of our system's configuration) prevents me from being able to create new tasks.  Maybe I just need to wait another version or two?</p>
<h4><a href="http://www.rphelan.com/2008/03/27/tweaking-compiler-performance-in-flex-builder/">Heap Status</a></h4>
<p>I <a href="http://www.rphelan.com/2008/03/27/tweaking-compiler-performance-in-flex-builder/">wrote a separate blog post</a> about this a while back, its cool to be able to get a glimpse of how the VM is managing your memory.</p>
<h4><a href="http://suif.stanford.edu/pub/keepresident/">Keep Resident</a></h4>
<p>Uses some Windows hooks to try and keep Eclipse in memory as much as possible.  Use this if you are experiencing frequent "hang-ups" with your IDE.</p>
<blockquote><p>The performance of Eclipse (and other large Java applications) has long suffered due to the Windows virtual memory manager. Windows has a tendency to preemptively swap Java processes out of physical memory, even when there is still plenty of physical memory available. This interacts very poorly with Java processes, which do not have good locality and touch a lot of memory. The problem is exacerbated when Java performs garbage collection, which causes the Java process to touch lots of memory that has been paged out to disk. Ever had Eclipse randomly hang for 15-20 seconds? This is most likely the culprit.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/05/01/some-useful-eclipse-plugins-for-flex-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Cairngen on a Mac</title>
		<link>http://www.rphelan.com/2008/04/12/running-cairngen-on-a-mac/</link>
		<comments>http://www.rphelan.com/2008/04/12/running-cairngen-on-a-mac/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 02:59:28 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Cairngen]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=26</guid>
		<description><![CDATA[I've been using Cairngen for a while on my PC and it works great. It is a huge time saver for building Cairngorm based Flex applications. When I tried using it on my MacBook Pro, I found out that it's not quite as straight forward. There is a comprehensive discussion on the problem at Eric [...]]]></description>
			<content:encoded><![CDATA[<p>I've been using <a href="http://code.google.com/p/cairngen/">Cairngen</a> for a while on my PC and it works great.  It is a huge time saver for building Cairngorm based Flex applications.  When I tried using it on my MacBook Pro, I found out that it's not quite as straight forward.  There is a comprehensive discussion on the problem at <a href="http://www.ericfeminella.com/blog/2007/11/19/cairngen-21/">Eric Feminella's blog</a> (creator of Cairngen) which was a huge help.  The issue is that Cairngen requires Java 6 which doesn't exist yet (officially) for OSX.  You can get around this by downloading a few libraries and including them in your Ant classpath.</p>
<p>Here's what I had to do to get Cairngen running on OSX 10.4 / Eclipse 3.3.2.  I'm assuming it would work for 10.5 too, but I haven't tested it.</p>
<ol>
<li>Download the following jars:
<ul>
<li><a rel="nofollow" href="http://www.mozilla.org/rhino/download.html">Mozilla Rhino (js.jar)</a></li>
<li><a rel="nofollow" href="http://jakarta.apache.org/site/downloads/downloads_bsf.cgi">Jakarta BSF (bsf.jar)</a></li>
<li><a href="http://commons.apache.org/downloads/download_logging.cgi">Apache Commons Logging (commons-logging-1.1.1.jar)</a></li>
</ul>
</li>
<li>I placed the jars in the Ant lib folder in my Eclipse installation:  eclipse/plugins/org.apache.ant_1.7.0.../lib</li>
<li>Go to <code>Eclipse->Preferences->Ant->Runtime->Classpath</code>, select "Ant Home Entries" and add the three jars using the "Add External JARs..." button.</li>
</ol>
<p>That's it.  Hope you don't have to waste as much time figuring this out as I did!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/04/12/running-cairngen-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

