Saturday May 03, 2008

Scala for NetBeans Screenshot#11: Go to Remote Declaration and Doc Tooltip

Two crazy days of my spare time, I was coding between sleeping and eating, with a lot of cups of coffee. Now Scala plugins support Go-To remote declarations (CTRL + Click on var/function name), and when you put cursor on the identifier name with CTRL pressed, or under auto-completion, the doc will also be shown as tooltip.

These features work for Java classes too with a bit poor performance, I'll fix it later (fixed).

Not all identifiers have been type inferred, so these features are not applicable for all identifiers.

Please update to Scala Editing module as version 1.0.26.xxx when it's available, which is the only stable one these days. Remember to unzip Scala lib's source under $SCALA_HOME/src

nn

nn

Comments:

Looks really fantastic!

What a pitty that the plugin does only work with the nightly builds. I'd really love to try it again but as I work on three different machines it is too much effort..

Posted by Michael Nischt on May 04, 2008 at 06:11 PM PDT #

Michael,

These plugins are moving very quickly, I couldn't say they are stable, sometimes yes, sometimes no.

But I'm driving toward a stable release around NetBeans 6.5's first beta.

Posted by Caoyuan on May 04, 2008 at 10:01 PM PDT #

It looks great, but I still can't get the Interactive Shell to work:

Attempting to open the window for it throws:

A java.lang.ArrayIndexOutOfBoundsException exception has occurred.
However, the system should continue working without further problems.
Click Show Details for the stack trace.

Any ideas?

Posted by 70.8.10.114 on May 05, 2008 at 07:43 PM PDT #

70.8.10.114,

I can't reproduce the issue on my Mac os, would you please send me the stack trace?

Posted by Caoyuan on May 05, 2008 at 09:23 PM PDT #

Could you recommend a recent Netbeans nightly release that works well with your plugin? Some of them have been flaky, and I'd rather use the same one(s) that you are using.

Posted by Carl Quinn on May 07, 2008 at 09:40 AM PDT #

Carl,

I build NetBeans from trunk 2-3 times every week and keep the latest good one somewhere, if one of them is broken, I rollback to the previous good one.

Posted by Caoyuan on May 07, 2008 at 12:24 PM PDT #

There are some known issues on current trunk, I'm using daily build around May 1th

Posted by Caoyuan on May 07, 2008 at 03:55 PM PDT #

The trunk code was just fixed, the next latest build should work.

Posted by Caoyuan on May 07, 2008 at 06:12 PM PDT #

Post a Comment:
  • HTML Syntax: Allowed