Code Monkeyism

Programming is hard by Stephan Schmidt

Scala and Netbeans

Compared to my IntelliJ IDEA experience, Netbeans works much better with Scala (but worse with Maven). Netbeans does recognize correct code compared to IDEA - but recognizes illegal code as legal too. For example it doesn’t tell you if you implement all methods from an abstract class. And lots of other things are missing from what we are used to in Java. My guess Scala IDEs are 5 years behind Java. Hope they catch up soon.

About the author: Stephan Schmidt is currently a team manager at ImmobilienScout24 in Berlin. Stephan has been working as a head of development and CTO. He has used a lot of different technologies in the last 20 years including Java, Rails and Python. Stephans main field of interest is maintainablity and productivity in software development. Want to know more? All views are only his own.

If you did like this article but you don't want to subscribe to new articles with your reader, you can follow me on Twitter or subscribe to new posts with your email:

Comments

I tried all the ide’s, IntelliJ is ok as long as you use ONLY version Diana 8733 with the scala plugin at version 0.2.18767. (note this is the second last scala plugin version).

My computer is MAC OSX 10.5 powerpc, not intel.

Other versions of IntelliJ and combinations of Scala plugin and IDE crashed for me.

Actually I have a better feeling from this IntelliJ than the other IDE’s, Netbeans, JEdit, Eclipse and am using IntelliJ for scala development, its more responsive and looks nicer and also has the method autocomplete working with javadocs.
Getting it all set up right though - takes me days, the Maven, everything, but now happy.

stephan

I like Intellj also better, but currently there is a problem that it doesn’t recognize valid Scala code as valid.

Ilya Sergey

Hello.

Yes, it’s a problem with highlighting of correct code by red. The cause is in some meta information (like type aliaces and generics) which we cannot extract from compiled class files for now (Of course, we can, but for this we would have to implement our own signature attribute parser. This is heaps of work.) and we wait for new scalap implementation which was promised in one of nearest Scala releases.

With best regards,
Ilya

stephan

Hello Ilya, thanks for the reply, I’ll take a look when the new scalap is released.

Leave a Reply