<?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>Mirko Stocker&#039;s Blog &#187; eclipse</title>
	<atom:link href="http://misto.ch/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://misto.ch</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 12:40:17 +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>Tag Cloud Visualization for Source Code</title>
		<link>http://misto.ch/tag-cloud-visualization-for-source-code/</link>
		<comments>http://misto.ch/tag-cloud-visualization-for-source-code/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 14:11:25 +0000</pubDate>
		<dc:creator>Mirko Stocker</dc:creator>
				<category><![CDATA[InfoQ]]></category>
		<category><![CDATA[Scala]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://misto.ch/?p=290</guid>
		<description><![CDATA[I&#8217;ve always been a huge fan of Wordle, so when I saw Fabian Steeg&#8217;s announcement of Cloudio – the SWT-based tag cloud visualization for Zest – I knew I wanted to do something with it, so I created Sourcecloud (suggestions for a better name are welcome). Sourcecloud is an Eclipse plug-in that lets you create tag clouds [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been a huge fan of Wordle, so when I saw Fabian Steeg&#8217;s <a href="http://fsteeg.com/2011/09/07/cloudio-swt-based-tag-cloud-visualization-for-zest/">announcement of Cloudio</a> – the SWT-based tag cloud visualization for Zest – I knew I wanted to do something with it, so I created <strong>Sourcecloud</strong> (suggestions for a better name are welcome).</p>
<p>Sourcecloud is an Eclipse plug-in that lets you create tag clouds of your source code. The idea for this project came from <a href="https://twitter.com/#!/kevlinhenney">Kevlin Henney</a>, who used such tag clouds in a presentation at Jazoon 2010 (if I remember correctly). Luckily for me, Cloudio comes with an example application, from which I was able to reuse most of the parts, so all the credits go to Cloudio&#8217;s creator <a href="https://twitter.com/#!/sschwieb">Stephan Schwiebert</a>.</p>
<p><strong>Why would you want to make tag clouds for source code?</strong> It can give you a quick first impression of the quality of a code base. Ideally, you should see many names of the project&#8217;s domain. On the other hand, if you see lots of <code>nulls</code>, <code>ints</code> and <code>Strings</code>, chances are that the code will be hard to understand because there are not many domain specific types in it.</p>
<p>You can install Sourcecloud from the <a href="http://scala.ifs.hsr.ch/hudson/job/Sourcecloud/ws/ch.misto.sourcecloud.update/target/site/">update site for integration builds</a> into Eclipse Indigo. And here&#8217;s how the result looks:</p>
<p style="text-align: center;"><a href="http://misto.ch/wp-content/untyped.png"><img class="size-full wp-image-292 aligncenter" title="untyped" src="http://misto.ch/wp-content/untyped.png" alt="" width="547" height="431" /></a></p>
<p style="text-align: center;">And here&#8217;s a screenshot of the Eclipse view:<a href="http://misto.ch/wp-content/sourcecloud_screenshot.png"><img class="aligncenter size-full wp-image-296" title="sourcecloud_screenshot" src="http://misto.ch/wp-content/sourcecloud_screenshot.png" alt="" width="566" height="400" /></a></p>
<p>The source code is on <a href="https://github.com/misto/Sourcecloud">GitHub</a>, so if you want to add or change something, fork it and send me a pull request!</p>
<div class="plus-one-wrap"><g:plusone href="http://misto.ch/tag-cloud-visualization-for-source-code/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://misto.ch/tag-cloud-visualization-for-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scala IDE at Eclipse Summit Europe 2010</title>
		<link>http://misto.ch/eclipse-summit-europe-2010/</link>
		<comments>http://misto.ch/eclipse-summit-europe-2010/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 16:28:17 +0000</pubDate>
		<dc:creator>Mirko Stocker</dc:creator>
				<category><![CDATA[InfoQ]]></category>
		<category><![CDATA[Scala]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[talk]]></category>

		<guid isPermaLink="false">http://misto.ch/?p=223</guid>
		<description><![CDATA[It seems to be customary to announce his Eclipse Summit talk in blogs, so here&#8217;s mine: My talk will of course be on the Scala IDE for Eclipse: This talk introduces the Scala IDE for Eclipse, the obvious choice for all Eclipse users who want to write Scala code. We are going to both take [...]]]></description>
			<content:encoded><![CDATA[<p>It seems to be customary to announce his Eclipse Summit talk in blogs, so here&#8217;s mine:</p>
<p><a href="http://www.eclipsecon.org/summiteurope2010/sessions/?page=sessions&#038;id=1777"><img src="http://misto.ch/wp-content/speaking-ese.gif"/></a></p>
<p>My talk will of course be on the <a href="http://www.eclipsecon.org/summiteurope2010/sessions/?page=sessions&#038;id=1777">Scala IDE for Eclipse</a>:</p>
<blockquote><p>This talk introduces the Scala IDE for Eclipse, the obvious choice for all Eclipse users who want to write Scala code. We are going to both take a look at the features the IDE currently provides as well as a glance under the hood.</p></blockquote>
<p>So if you&#8217;re at ESE and want to know more about the Scala IDE for Eclipse, <a href="http://www.eclipsecon.org/summiteurope2010/table/?page=table&#038;date=2010-11-04">visit me on Thursday</a>, just before lunch.</p>
<div class="plus-one-wrap"><g:plusone href="http://misto.ch/eclipse-summit-europe-2010/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://misto.ch/eclipse-summit-europe-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Helios Released: What It Doesn&#8217;t Have</title>
		<link>http://misto.ch/eclipse-helios-released-what-it-doesnt-have/</link>
		<comments>http://misto.ch/eclipse-helios-released-what-it-doesnt-have/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 13:33:06 +0000</pubDate>
		<dc:creator>Mirko Stocker</dc:creator>
				<category><![CDATA[InfoQ]]></category>
		<category><![CDATA[Scala]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[helios]]></category>

		<guid isPermaLink="false">http://misto.ch/?p=169</guid>
		<description><![CDATA[Many good reviews already cover all the nice new features that are in Eclipse Helios, so I&#8217;m going to show you a three annoyances that have been bothering me for years and are still not fixed in Helios. And these aren&#8217;t things like the high memory consumption or the sluggish interface. Multiple Desktops A bug [...]]]></description>
			<content:encoded><![CDATA[<p>Many <a href="http://eclipse.org/helios/blogathon/reviews.php">good reviews already cover</a> all the nice new features that are in Eclipse Helios, so I&#8217;m going to show you a three annoyances that have been bothering me for years and are still not fixed in Helios. And these aren&#8217;t things like the high memory consumption or the sluggish interface.</p>
<h3>Multiple Desktops</h3>
<p>A bug that I observe almost every time I start Eclipse is <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=98540">Bug Nr. 98540, Eclipse shells open on different desktops</a> (created in 2005). The problem is:</p>
<blockquote><p>I launch the Eclipse process on one desktop, and then switch to another. The splash shell opens on the second desktop, not the one from which it was launched.</p></blockquote>
<p>If you&#8217;re not using multiple desktops, this might not sound like a huge problem, but I can tell you, it&#8217;s really annoying if Eclipse just follows you around and doesn&#8217;t stay on the desktop it belongs to. This is not restricted to starting the initial Eclipse instance but also happens when you&#8217;re developing plugins and launch a new workspace.</p>
<h3>Global Preferences</h3>
<p>There are certain preferences I want in all my Eclipse instances, for example the &#8220;Show Heap Status&#8221;, or the Font of the editor. So it would be really nice if there were something like global preferences that can be saved somewhere and are then used by all workspaces. It&#8217;s already possible to manually import and export preferences, so you can share preferences, but doing it manually is tedious.</p>
<p>Another interesting project going into a similar direction is Google&#8217;s <a href="http://code.google.com/a/eclipselabs.org/p/workspacemechanic/">Workspace Mechanic</a>. A <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=70683">bug report</a> also exists since 2005.</p>
<h3>Unnecessary Scrollbars Shown</h3>
<p>The following screenshot should make the problem obvious:</p>
<p><a href="http://misto.ch/wp-content/scrollbars.png"><img src="http://misto.ch/wp-content/scrollbars.png" alt="" title="scrollbars" width="400px" class="alignnone size-medium wp-image-203" /></a></p>
<p>Why are there scrollbars shown? I don&#8217;t use any other GTK programs, so this might be a GTK problem; but it still annoys me from time to time. And there&#8217;s a <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=27096">bug report</a> for it since 2002.</p>
<p>Despite all these problems, I&#8217;m still a very happy Eclipse user and developer, so congratulations for this otherwise great release!</p>
<div class="plus-one-wrap"><g:plusone href="http://misto.ch/eclipse-helios-released-what-it-doesnt-have/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://misto.ch/eclipse-helios-released-what-it-doesnt-have/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building Eclipse Plug-ins Written in Scala with Maven/Tycho</title>
		<link>http://misto.ch/eclipse-plugins-scala-maventycho/</link>
		<comments>http://misto.ch/eclipse-plugins-scala-maventycho/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:40:04 +0000</pubDate>
		<dc:creator>Mirko Stocker</dc:creator>
				<category><![CDATA[InfoQ]]></category>
		<category><![CDATA[Scala]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://misto.ch/?p=140</guid>
		<description><![CDATA[The Scala Refactoring project currently uses a rather crude hand-written ant build file; it compiles and runs tests. What it doesn&#8217;t do is creating a proper OSGi bundle, which I need if I want to do proper releases and integrate it into the Scala Eclipse IDE. Most of my colleagues are using PDE build, but [...]]]></description>
			<content:encoded><![CDATA[<p>The Scala Refactoring project currently uses a rather crude hand-written ant build file; it compiles and runs tests. What it doesn&#8217;t do is creating a proper OSGi bundle, which I need if I want to do proper releases and integrate it into the Scala Eclipse IDE. Most of my colleagues are using PDE build, but from what I&#8217;ve heard, <a href="http://www.eclipse.org/buckminster/">Buckminster</a> or <a href="http://tycho.sonatype.org/">Maven/Tycho</a> are the way to go.</p>
<p>Buchminster looks rather complex to me, so I went with Maven, even though I had no prior experience with it. Now, a few hours later, I have a <em>Hello World</em> plug-in written in Scala and a bunch of poms that build everything I want, even an update site! </p>
<p>Tycho needs Maven 3, which hasn&#8217;t been released yet, so I downloaded the latest <a href="http://maven.apache.org/download.html">alpha build</a> and created an alias that pointed to the mvn binary.</p>
<p>I started with <a href="http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/">Mattias Holmqvist&#8217;s Blog</a> where he explains how to create the initial Maven configuration and an OSGi bundle in Eclipse (I created a Hello World Plug-in Project). Now, we don&#8217;t want to have a Java plug-in but one written in Scala, so I added the Scala Nature to the project and re-wrote the two generated files in Scala.</p>
<p>To add Scala functionality to my pom, I followed the <a href="http://code.google.com/p/esmi/wiki/CreatingScalaMavenProjectsInEclipse">Eclipse Scala Maven Integration wiki</a>. I also had to add the Scala Eclipse Plug-in nightly build update site to my list of repositories so Maven could resolve the <em>scala.library</em> dependency the project has. </p>
<pre class="brush: xml; title: ; notranslate">    &lt;repository&gt;
       &lt;id&gt;scala eclipse nightly&lt;/id&gt;
       &lt;layout&gt;p2&lt;/layout&gt;
       &lt;url&gt;http://www.scala-lang.org/scala-eclipse-plugin-nightly&lt;/url&gt;
    &lt;/repository&gt;
</pre>
<p>Because I apparently didn&#8217;t follow Maven&#8217;s source layout, I had to explicitly specify the source directory via:
<pre class="brush: xml; title: ; notranslate">&lt;sourceDirectory&gt;${basedir}/src&lt;/sourceDirectory&gt;</pre>
<p>Adding the update site and feature projects was a peace of cake when following <a href="http://tycho.sonatype.org/how-to-create-a-new-osgi-bundle.html">this tutorial</a> (scroll to <em>Creating an Update Site / P2 repository</em>) from the Tycho project.</p>
<p>I&#8217;ve put the whole project on <a href="http://github.com/misto/Scala-Hello-World-Plug-in">GitHub</a> so you can try it yourself. And remember, this is my first day with Maven, so if I could make the poms even smaller or more idiomatic, please tell me. Or even better, just fork my code!</p>
<p>Next I&#8217;m going to find out how to run unit tests and how the integration in Hudson works, and then I can migrate the Scala Refactoring project and delete a build.xml file.</p>
<div class="plus-one-wrap"><g:plusone href="http://misto.ch/eclipse-plugins-scala-maventycho/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://misto.ch/eclipse-plugins-scala-maventycho/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

