Monday Apr 14, 2008

Scala for NetBeans Screenshot#8: Working on Indexer

I've done some basic indexer code, that is, all source files under a project will be parsed, analyzed, then indexed (class/object/trait, functions, fields etc). But it's just a start, before I finished type inference, if you press CTRL+SPACE to invoke completion, there are a lot of indexed Class/Object/Trait/Function will be roughly shown on you :-), it's not smart, it's more like a puzzle, you should decide which one is applicable by yourself. But you can get a view of the coming completion feature.

Click on the picture to enlarge it

nn

Comments:

Really cool. Can't wait to try the new plugin when it's ready for testing (I'm not a big fan of the new Eclipse plugin ATM).

Posted by Jesper Nordenberg on April 15, 2008 at 08:54 AM PDT #

While I was able to install the Scala Console plug-in, when the window is invoked, nothing is returned to it when a statement is entered. Attempting to quit/exit also results in no apparent action. What could be wrong?

I am using the scala 2.7.1.RC1, and the nightly netbeans build 200804150002. I've tried with different nightly builds over the past week, but always have the same result. Initial window output below:

Scala Shell -Completion: <tab> -Quit: :quit -Help: :help.

Welcome to Scala version 2.7.1.RC1 (Java HotSpot(TM) Client VM, Java 1.6.0_05).

Type in expressions to have them evaluated.

Type :help for more information.

scala>

Posted by Paul J. LaCrosse on April 16, 2008 at 04:24 PM PDT #

Additionally, with the same setup in my prior post, any attempt to install the Scala Project and Scala Editing plugins results in:

Missing required modules for Plugin Scala Debugger Projects Integration:
Common Scripting Language Platform Support [module org.netbeans.modules.gsfpath.api/1 = 080415]
Missing required modules for Plugin Scala Editing:
Common Scripting Language Platform Support [module org.netbeans.modules.gsfpath.api/1 = 080415]
Missing required modules for Plugin Scala Project:
Common Scripting Language Platform Support [module org.netbeans.modules.gsfpath.api/1 = 080415]

Posted by Paul J. LaCrosse on April 16, 2008 at 04:26 PM PDT #

Please wait for a couple of days, I'm fixing the module dependency issue.

For the console issue, I have not tried on 2.7.1.RC1, I'll take a look too.

Posted by Caoyuan on April 16, 2008 at 04:42 PM PDT #

Post a Comment:
Comments are closed for this entry.