Scala Plugin for NetBeans - Rewrite in Scala #2: Supports Java/Scala Mixed Project

Java/Scala mixed project was supported partly once before, but I cannot remember when this feature got lost. Anyway, as one progressing of the rewritten NetBeans Scala plugin, I just got this feature working properly halfway: now Java source is visible to Scala one, but not vice versa. To got Scala source also visible for Java source, would pay for efficiency, since the compiler may need to be pushed to a deep phase, and mapped to Java classes/methods, I need more time to think about that.

Below is a screenshot that a JavaDog? is called from a Scala source file:

ScalaEditor-090810.png

Comments

1. Michael -- 2009-08-10 09:00

This is killer. Thank you for all your work on Scala plugin!

2. milos kleint -- 2009-08-10 09:00

Great! I don't get the red underlines when using Java UI forms together with scala code in my Maven projects. Thanks a lot.

3. -- 2009-08-14 09:00

Hmmm..Is it possible to have java and scala sources in the same project? I'm still getting redlines for this setting.

4. Caoyuan -- 2009-08-14 09:00

@24.5.196.163, it truly happened two days ago, but not on my current trunk code. Maybe a updated version for auto-update soon.

5. Landei -- 2009-08-19 09:00

On two PCs I get this error:

 http://statistics.netbeans.org/analytics/exception.do?id=246604

when I tried to update the Scala plugin (I know, the error looks unrelated).

After this, the editor shows only "Loading..." for everything.

Do you have an idea what could cause this and how to solve this?

Thanks!

6. Caoyuan -- 2009-08-19 09:00

@Landei, were you trying to update Scala plugin from nightly built update center? if so, the nightly built one is not compatible with NetBeans 6.7.x