<?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>DaveOnCode &#187; eclipse</title>
	<atom:link href="http://www.daveoncode.com/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daveoncode.com</link>
	<description>Objective C, iOS and more programming stuff</description>
	<lastBuildDate>Mon, 19 Dec 2011 12:11:12 +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>Extending Eclipse using JavaScript and Monkey Script engine</title>
		<link>http://www.daveoncode.com/2009/12/16/extending-eclipse-using-javascript-monkey-script-engine/</link>
		<comments>http://www.daveoncode.com/2009/12/16/extending-eclipse-using-javascript-monkey-script-engine/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:20:50 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[extensions]]></category>

		<guid isPermaLink="false">http://www.daveoncode.com/?p=555</guid>
		<description><![CDATA[I was wondering how to wrap a string with quotes in Eclipse by using a shortcut, then I realized that there is not such command, so I started thinking for a solution and initially I created an Aptana&#8217;s snippet, but I was not satisfied, because I want to have an handy shortcut to invoke my [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/12/16/extending-eclipse-using-javascript-monkey-script-engine/' addthis:title='Extending Eclipse using JavaScript and Monkey Script engine ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>I was wondering how to wrap a string with quotes in Eclipse by using a shortcut, then I realized that there is not such command, so I started thinking for a solution and initially I created an Aptana&#8217;s snippet, but I was not satisfied, because I want to have an handy shortcut to invoke my snippet. By googling, I discovered Eclipse Monkey Script engine, that is an extremely powerful tool for every JavaScript developer who wants to extend Eclipse features by writing few lines of JavaScript code. In order to use the js engine, you must have the package org.eclipse.eclipsemonkey (which is installed by default by Aptana) installed. Unfortunately I can&#8217;t find a complete and exhaustive reference for this project, which seems forgotten by authors, so I learnt what I know reading different posts.<br />
Basically, Monkey Script allow developers to access editor&#8217;s instance, get selected test, get document content, edit it and update it. Moreover is possible to print text to consol, read and create files on the filesystem&#8230; and finally the scripts created will be accessible from Eclipse menu (under &#8220;Scripts&#8221;) and invokable through user defined shortcut&#8230; really nice!<br />
So, backing to my experiment, I created this monkey script:</p>
<div class="codecolorer-container javascript mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #006600; font-style: italic;">/* <br />
* Key: M1+M2+C<br />
* Menu: Custom Scripts &gt; Wrap with double quotes<br />
* DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript<br />
* Kudos: Davide Zanotti<br />
*/</span><br />
<span style="color: #003366; font-weight: bold;">function</span> main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// no editor... exit</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> editors.<span style="color: #660066;">activeEditor</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;undefined&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;No active editor&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// get a reference to the editor in use</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> editor <span style="color: #339933;">=</span> editors.<span style="color: #660066;">activeEditor</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// beginning of text selection</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> startOffset <span style="color: #339933;">=</span> editor.<span style="color: #660066;">selectionRange</span>.<span style="color: #660066;">startingOffset</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// end of text selection</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> endOffset <span style="color: #339933;">=</span> editor.<span style="color: #660066;">selectionRange</span>.<span style="color: #660066;">endingOffset</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// selected text</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> selection <span style="color: #339933;">=</span> editor.<span style="color: #660066;">source</span>.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span>startOffset<span style="color: #339933;">,</span> endOffset<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// surround selection with quotes</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;editor.<span style="color: #660066;">applyEdit</span><span style="color: #009900;">&#40;</span>startOffset<span style="color: #339933;">,</span> endOffset <span style="color: #339933;">-</span> startOffset<span style="color: #339933;">,</span> <span style="color: #3366CC;">'&quot;'</span> <span style="color: #339933;">+</span> selection <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&quot;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Error &quot;</span> <span style="color: #339933;">+</span> e.<span style="color: #660066;">code</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;: &quot;</span> <span style="color: #339933;">+</span> e.<span style="color: #660066;">message</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>It&#8217;s important to notice some points, first you MUST write an &#8220;header&#8221; using the comment syntax &#8220;/* */&#8221; into which you MUST declare at least 2 parameter: the &#8220;<strong>Menu</strong>&#8221; path (you can nest several menu items by writing several &#8220;&gt;&#8221;) and the &#8220;<strong>DOM</strong>&#8221; package (which allows you to access specific objects like &#8220;<strong>editors</strong>&#8220;). You can write several js functions, but you must provide a <strong>main()</strong> function, which is called automatically by Eclipse once you launch your script, otherwise you can call the main function as you like but you must then provide the &#8220;OnLoad&#8221; param in the header, specifying which function will be called.<br />
To define a shortcut you can use the &#8220;<strong>Key</strong>&#8221; parameter and define your own keys combination by choosing among the four modifiers: M1, M2, M3, M4, that are a platform-independent way of representing keys (these stand for ALT, COMMAND, CTRL, and SHIFT). The strange (at least to me) parameter &#8220;<strong>Kudos</strong>&#8221; is used to declare the author of the monkey script.<br />
To test my little script or create your own, you have simply to create a new project into Eclipse by calling it as you like (ie: &#8220;custom-extensions&#8221;), then create a &#8220;scripts&#8221; folder into which you will save your .js files&#8230; that&#8217;s all, try yourself and enjoy :)</p>
<p>This is how it looks:</p>
<div id="attachment_558" class="wp-caption alignnone" style="width: 519px"><img src="http://www.daveoncode.com/wp-content/uploads/2009/12/Screen-shot-2009-12-16-at-17.08.56.jpg" alt="eclipse monkey script menu" title="eclipse-monkey-script-menu" width="509" height="254" class="size-full wp-image-558" /><p class="wp-caption-text">eclipse monkey script menu</p></div>
<p>ps: I&#8217;m going to explore the Monkey Script API in order to write more complex and useful extensions :P</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/12/16/extending-eclipse-using-javascript-monkey-script-engine/' addthis:title='Extending Eclipse using JavaScript and Monkey Script engine ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2009/12/16/extending-eclipse-using-javascript-monkey-script-engine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Eclipse + Aptana + Subclipse SVN</title>
		<link>http://www.daveoncode.com/2009/11/04/installing-eclipse-aptana-subclipse-svn/</link>
		<comments>http://www.daveoncode.com/2009/11/04/installing-eclipse-aptana-subclipse-svn/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 21:18:14 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[ide]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.daveoncode.com/?p=508</guid>
		<description><![CDATA[Recently I&#8217;ve updated my Eclipse version and I installed certain plugin which has created some kind of conflict and confusion in my workspace. What I was trying to do was installing an SVN plugin in order to work on a google code SVN repository, but I had several errors and I lost several hours trying [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/11/04/installing-eclipse-aptana-subclipse-svn/' addthis:title='Installing Eclipse + Aptana + Subclipse SVN ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve updated my Eclipse version and I installed certain plugin which has created some kind of conflict and confusion in my workspace. What I was trying to do was installing an SVN plugin in order to work on a google code SVN repository, but I had several errors and I lost several hours trying to figure out what was wrong. So I decided to do a fresh and clean installation, once understood the problem. So, I would like to write a sort of tutorial which will explain how to get a sound and working installation of Eclipse, Aptana and Subclipse (which as far I read, is actually the best plugin available for SVN on Eclipse).</p>
<p><span id="more-508"></span></p>
<h2>Install Eclipse</h2>
<p>If you have already Eclipse installed, backup your workspace folder somewhere, then delete eclipse installation folder and the old workspace (you will use the old projects folder after by skipping the &#8220;.metadata&#8221; folder that is the place where Eclipse stores informations about settings and plugins installed). Go to http://eclipse.org/downloads/ and download the Eclipse edition you prefer (I use Eclipse Classic), after extracting the archive, place folder &#8220;eclipse&#8221; where you like (usually &#8220;Programs&#8221; folder on windows and &#8220;Applications&#8221; on Mac). Create a link to the executable file on your desktop (or Mac OS X dock), then launch the program. Since this is the first time you run Eclipse, it will ask where to locate the workspace, choose the destination and folder name you prefer (I use &#8220;eclipse-workspace&#8221; under my documents). Ok, at this point you should see a welcome screen, close it and choose <strong>Help > Install new software&#8230;</strong> from the top menu (we are going to install Aptana). </p>
<h2>Install Aptana</h2>
<p>Click on <strong>Add&#8230;</strong> and paste this url in the &#8220;Location&#8221; field: &#8220;http://download.aptana.org/tools/studio/plugin/install/studio&#8221; (don&#8217;t paste quotes!), write a name for the location entered (I simply called it &#8220;Aptana&#8221;). Go on, selecting Aptana packages check-boxes and clicking on <strong>Next</strong>, then accept the terms and click on <strong>Finish</strong>. It will takes several seconds, then Eclipse will inform you that installation is complete and it will suggest you to restart the program&#8230; obey!</p>
<h2>Install Subclipse (through Aptana)</h2>
<p>Ok, we have Aptana installed and running into Eclipse, now we can select <strong>Help > Install Aptana Features</strong> from the top menu, then select <strong>Others > SCM Plugins > Subclipse</strong> and from here select the following package: <strong>Core SVNKit library, Optional JNA library, Subclipse</strong>. After the routine &#8220;next, agree, finish, restart&#8221; we have now our beloved ide ready to be used!</p>
<h2>IDE configuration</h2>
<p>Now that all the stuff is installed, we should spent some time to configure it properly, depending on our needs and taste. Eclipse is a complex and powerfull software and is it possible to set a lot of options: font used, colors, code suggestion, indentation, code collapsing, autoupdate, file encoding, workspace and a lot more. If you never take an in depth look at the preferences panel, I suggest you to spent at list 5 minutes&#8230; it deserve the time spent!</p>
<h2>Possible issues and resolutions</h2>
<p>- If during installation an alert saying &#8220;WARNING: you are installing software that contains unsigned content&#8221; will appear, just choose <strong>ok</strong> and you shouldn&#8217;t get any problems.</p>
<p>- If you get problems to download from the update site(s), maybe you are blocked by a firewall, you should go to <strong>Window > Preferences > General > Network </strong> and set the right proxy configuration. If you don&#8217;t know how to configure it, you can download the archive version (a .jar or .zip file containing all plugin&#8217;s packages) from vendor site.</p>
<p>- If you are trying to add a new SVN repository (by using the installed Subclipse plugin) and you get an error saying &#8220;<strong>RA layer request failed</strong>&#8220;, go to <strong>Window > Preferences > Team > SVN</strong> and in the &#8220;SVN interface&#8221; choose SVNKit as client instead of JavaHL (default option)&#8230; this should solve the problem (in my case it did). If you still get that error or a similar one, maybe is due to firewall limitations, if you can&#8217;t change the configuration properly&#8230; google and good luck :^)</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/11/04/installing-eclipse-aptana-subclipse-svn/' addthis:title='Installing Eclipse + Aptana + Subclipse SVN ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2009/11/04/installing-eclipse-aptana-subclipse-svn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse: convert upper case text to lower case and viceversa with a simple shortcut</title>
		<link>http://www.daveoncode.com/2009/08/25/eclipse-shortcut-switch-convert-uppercase-text-cod-lowercase/</link>
		<comments>http://www.daveoncode.com/2009/08/25/eclipse-shortcut-switch-convert-uppercase-text-cod-lowercase/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 15:02:36 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[ide]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.daveoncode.com/?p=481</guid>
		<description><![CDATA[This is just a quick post to share these 2 little shortcuts to convert text from lower case to uppercase and viceversa in Eclipse. Lower case: CTRL+SHIFT+Y (CMD+SHIFT+Y on Mac OS X) Upper case: CTRL+SHIFT+X (CMD+SHIFT+X on Mac OS X) In both the combination you can select one or more character to convert.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/08/25/eclipse-shortcut-switch-convert-uppercase-text-cod-lowercase/' addthis:title='Eclipse: convert upper case text to lower case and viceversa with a simple shortcut ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>This is just a quick post to share these 2 little shortcuts to convert text from lower case to uppercase and viceversa in Eclipse.</p>
<p>Lower case: <strong>CTRL+SHIFT+Y</strong> (<strong>CMD+SHIFT+Y</strong> on Mac OS X)<br />
Upper case: <strong>CTRL+SHIFT+X</strong> (<strong>CMD+SHIFT+X</strong> on Mac OS X)</p>
<p>In both the combination you can select one or more character to convert.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/08/25/eclipse-shortcut-switch-convert-uppercase-text-cod-lowercase/' addthis:title='Eclipse: convert upper case text to lower case and viceversa with a simple shortcut ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2009/08/25/eclipse-shortcut-switch-convert-uppercase-text-cod-lowercase/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Aptana&#8217;s Javascript editor is too cool!</title>
		<link>http://www.daveoncode.com/2009/03/06/aptanas-javascript-editor-is-too-cool/</link>
		<comments>http://www.daveoncode.com/2009/03/06/aptanas-javascript-editor-is-too-cool/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 15:03:38 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[ide]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.daveoncode.com/?p=324</guid>
		<description><![CDATA[I&#8217;ve just discovered that the last version of the Aptana Studio (in my case the Eclipse plugin version) has an integrated support for javadoc syntax inside js files. The beauty of this feature is that, once you have defined a function, you can just type /** and press enter and Aptana will generate automatically all [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/03/06/aptanas-javascript-editor-is-too-cool/' addthis:title='Aptana&#8217;s Javascript editor is too cool! ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just discovered that the last version of the Aptana Studio (in my case the Eclipse plugin version) has an integrated support for javadoc syntax inside js files. The beauty of this feature is that, once you have defined a function, you can just type /** and press enter and Aptana will generate automatically all the comments for you:</p>
<p><img class="alignnone size-full wp-image-329" title="js_javadoc_aptana_1" src="http://www.daveoncode.com/wp-content/uploads/2009/03/js_javadoc_aptana_1.gif" alt="js_javadoc_aptana_1" width="410" height="171" /></p>
<p>Furthermore it will show tips including parameters description when you will use your previous defined function:</p>
<p><img class="alignnone size-full wp-image-330" title="js_javadoc_aptana_2" src="http://www.daveoncode.com/wp-content/uploads/2009/03/js_javadoc_aptana_2.gif" alt="js_javadoc_aptana_2" width="635" height="203" /></p>
<p>&#8230;and if you want to add extra &#8220;@tag&#8221;, the editor will suggest you all tags available:</p>
<p><img class="alignnone size-full wp-image-331" title="js_javadoc_aptana_3" src="http://www.daveoncode.com/wp-content/uploads/2009/03/js_javadoc_aptana_3.gif" alt="js_javadoc_aptana_3" width="545" height="217" /></p>
<p>Too cool!!! I love Aptana :-)</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2009/03/06/aptanas-javascript-editor-is-too-cool/' addthis:title='Aptana&#8217;s Javascript editor is too cool! ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2009/03/06/aptanas-javascript-editor-is-too-cool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Associate custom file extensions to the default Aptana&#8217;s text editor</title>
		<link>http://www.daveoncode.com/2008/11/24/associate-custom-file-extensions-to-the-default-aptanas-text-editor/</link>
		<comments>http://www.daveoncode.com/2008/11/24/associate-custom-file-extensions-to-the-default-aptanas-text-editor/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 13:06:16 +0000</pubDate>
		<dc:creator>Davide Zanotti</dc:creator>
				<category><![CDATA[ide]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[custom file extensions]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[file association]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://daveoncode.wordpress.com/?p=67</guid>
		<description><![CDATA[In a project which I&#8217;m working on, the team make an intensive use of text file to include with SSI, and these files are named conventionally  .inc, Aptana by default opens these custom extensions with the default system&#8217;s editor (notepad on windows). We can tell Aptana to open the .inc or whatever extension we want [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2008/11/24/associate-custom-file-extensions-to-the-default-aptanas-text-editor/' addthis:title='Associate custom file extensions to the default Aptana&#8217;s text editor ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-68 alignleft" style="margin: 0pt 10px 10px 0pt;" title="aptana" src="http://www.daveoncode.com/wp-content/uploads/2008/11/aptana.png" alt="aptana" /></p>
<p>In a project which I&#8217;m working on, the team make an intensive use of text file to include with SSI, and these files are named conventionally  <em>.inc</em>, Aptana by default opens these custom extensions with the default system&#8217;s editor (notepad on windows). We can tell Aptana to open the <em>.inc</em> or whatever extension we want with the Aptana&#8217;s text editor by simply doing the following: Choose <em><strong>window/preferences/Aptana/Editors/Generic Text</strong></em>, click <strong><em>add</em></strong> and then type our desired extension (in my case <em>*.inc</em>). Now if we double click over a <em>.inc</em> file in the project tree view, it will be opened inside Aptana.<br />
ps. The path to the settings panel may change according to the version of Aptana/Eclipse installed (I&#8217;m using the Aptana plugin for Eclipse 3.4.1)</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.daveoncode.com/2008/11/24/associate-custom-file-extensions-to-the-default-aptanas-text-editor/' addthis:title='Associate custom file extensions to the default Aptana&#8217;s text editor ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.daveoncode.com/2008/11/24/associate-custom-file-extensions-to-the-default-aptanas-text-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

