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

1. Jesper Nordenberg -- 2008-04-14 09:00

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).

2. Paul J. LaCrosse -- 2008-04-16 09:00

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>

3. Paul J. LaCrosse -- 2008-04-16 09:00

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]

4. Caoyuan -- 2008-04-16 09:00

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.