<?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>distriqt // labs &#187; eclipse</title>
	<atom:link href="http://labs.distriqt.com/tag/eclipse/feed" rel="self" type="application/rss+xml" />
	<link>http://labs.distriqt.com</link>
	<description>flash platform &#38; digital development australia</description>
	<lastBuildDate>Fri, 27 Jan 2012 00:24:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Launching Multiple Instances of Eclipse</title>
		<link>http://labs.distriqt.com/post/844</link>
		<comments>http://labs.distriqt.com/post/844#comments</comments>
		<pubDate>Fri, 27 Jan 2012 00:24:57 +0000</pubDate>
		<dc:creator>Michael Archbold</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://labs.distriqt.com/?p=844</guid>
		<description><![CDATA[I've been a fan of Eclipse for a long time now, even before FDT and Flash Builder were built around it. The use of workspaces, once you get your head around them, is powerful for focusing your head on the work at hand, keeping all associated projects within the one space. However there are times [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F844"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F844&amp;source=distriqt&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d2c0f1a5509cd228ab0be545d628ad7a&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I've been a fan of Eclipse for a long time now, even before FDT and Flash Builder were built around it. The use of workspaces, once you get your head around them, is powerful for focusing your head on the work at hand, keeping all associated projects within the one space.</p>
<p>However there are times when I wish I was able to have multiple workspaces open. And too the rescue comes the command line.<br />
<span id="more-844"></span></p>
<pre>[Path/To/Eclipse]/eclipse -data [Your/Workspace/Dir] &
</pre>
<p><br/><br />
I've wrapped this up into a little bash script to start eclipse from either the current directory or using the specified directory as the workspace:</p>
<pre class="bash"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">#!/bin/sh</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> -n <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting eclipse: WORKSPACE: &quot;</span> $<span style="color: #000000;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	/Applications/eclipse/eclipse  -data $<span style="color: #000000;">1</span> &amp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">else</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting eclipse: WORKSPACE: &quot;</span> `<span style="color: #7a0874; font-weight: bold;">pwd</span>`</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	/Applications/eclipse/eclipse  -data `<span style="color: #7a0874; font-weight: bold;">pwd</span>` &amp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">fi</span></div></li></ol></pre>
<p><br/></p>
<p>On OSX it's better to use the open command, like:</p>
<pre class="bash"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">#!/bin/sh</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> -n <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting eclipse: WORKSPACE: &quot;</span> $<span style="color: #000000;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	open -n /Applications/eclipse/Eclipse.app --args  -data $<span style="color: #000000;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">else</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting eclipse: WORKSPACE: &quot;</span> `<span style="color: #7a0874; font-weight: bold;">pwd</span>`</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	open -n /Applications/eclipse/Eclipse.app --args  -data `<span style="color: #7a0874; font-weight: bold;">pwd</span>`</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">fi</span></div></li></ol></pre>
<p><br/><br />
This will work equally as well with the Flash Builder application, just replace the Eclipse.app with the path to Flash Builder.</p>
<p>Happy workspacing!</p>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://labs.distriqt.com/post/844"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://labs.distriqt.com/post/844/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse (FlashBuilder) Keyboard Shortcuts</title>
		<link>http://labs.distriqt.com/post/455</link>
		<comments>http://labs.distriqt.com/post/455#comments</comments>
		<pubDate>Fri, 15 Apr 2011 01:00:56 +0000</pubDate>
		<dc:creator>Michael Archbold</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://labs.distriqt.com/?p=455</guid>
		<description><![CDATA[Just assembling a quick list of some of the shortcuts I use everyday in Eclipse. Let me know if you have any other favourites! Code hinting: Ctrl + Space Change view: Cmd + 3 Open any file quickly without browsing for it in the Package Explorer: Cmd + Shift + R Open a type (e.g.: [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F455"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F455&amp;source=distriqt&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d2c0f1a5509cd228ab0be545d628ad7a&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Just assembling a quick list of some of the shortcuts I use everyday in Eclipse. Let me know if you have any other favourites!</p>
<ul>
<li>Code hinting: <strong>Ctrl + Space</strong></li>
<li>Change view: <strong>Cmd + 3</strong></li>
<li>Open any file quickly without browsing for it in the Package Explorer: <strong>Cmd + Shift + R</strong></li>
<li>Open a type (e.g.: a class, an interface) without clicking through interminable list of packages: <strong>Cmd + Shift + T</strong></li>
<li>Go directly to a member (method, variable) of a huge class file, especially when a lot of methods are named similarly: <strong>Cmd + O</strong></li>
<p><!--</p>
<li>Jump from one member to the next (or previous), you can use <strong>Ctrl + Shift + ↓</strong> or <strong>Ctrl + Shift + ↑</strong>, respectively</li>
<p>--></p>
<li>Go to line number N in the source file: <strong>Cmd + L, enter line number</strong></li>
<li>Go to other open editors: <strong>Cmd + E</strong></li>
<li>Go to a type declaration: <strong>F3</strong> or <strong>Cmd + click on declaration</strong></li>
</ul>
<p>Note: Cmd == Ctrl on Windows/Linux</p>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://labs.distriqt.com/post/455"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://labs.distriqt.com/post/455/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Exisiting Project in Eclipse (Flex)</title>
		<link>http://labs.distriqt.com/post/209</link>
		<comments>http://labs.distriqt.com/post/209#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:38:06 +0000</pubDate>
		<dc:creator>Michael Archbold</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://labs.distriqt.com/?p=209</guid>
		<description><![CDATA[This one has been frustrating me for a while, I just wanted to open an actionscript project that we have in our svn into my workspace. Seemed like a simple concept, but I only recently discovered how to do it: Go to File > Import Select General > Existing Projects into Workspace Find your directory [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F209"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F209&amp;source=distriqt&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d2c0f1a5509cd228ab0be545d628ad7a&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This one has been frustrating me for a while, I just wanted to open an actionscript project that we have in our svn into my workspace.</p>
<p>Seemed like a simple concept, but I only recently discovered how to do it: </p>
<ul>
<li>Go to File > Import</li>
<li>Select General > Existing Projects into Workspace</li>
<li>Find your directory with your .project file and select finish</li>
</ul>
<p>Seems so simple now.</p>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://labs.distriqt.com/post/209"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://labs.distriqt.com/post/209/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

