Scala for NetBeans Screenshot#5: In-Place Refactoring
I've got Scala's semantic analysis more tightly integrated into NetBeans' Schliemann module. The first benefit is In-Place Refactoring (Instant Rename).
On the following screenshots, first, you put caret on a variable name ("scope", for example), the occurrences of this variable will be hi-lighted. Then, press key Ctrl+R, the highlighting color will be changed with meaning of ready for rename.
Just type or modify the name to new one, then press Enter. The occurrences of "scope" will be changed to new name, for example: "scope1".
And, YES, the Erlang for NetBeans will also get this benefit.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/blog_logo.png)
rss


Comments
So the question is: when a new download will be available? :-)<br /> I've also noticed that in the current version expressions outside a class/object are not recognized, although they are common in scripts.
How would some one build the latest from the netbean's CVS repository? Do you have to grab everything just to build the module?
Hi,
I code in my spare time, there should be a new version in about 2 weeks.
I'll try to add these modules to auto-update site in the near future.
To build last from netbeans' CVS repository, it's better to grab everything, otherwise, you need to update your current IDE to newest dependent modules.
Michael, can you give me an example code that with expressions outside a class/object are not recognized?
I tried adding the directory names to cluster.properties, but the modules still didn't seem to show up in netbeans when I started it.
So instead, I've been building netbeans from CVS, and then building the relevant nbms manually (languages/execution, and languages/scala/*) with ant, but having to install them in the GUI.
The rate of progress you're making on this is amazing. Hope you realise it's very much appreciated.
looks nice. would love to download your latest stuff. i just tried out the eclipse plug-in and it colorizes pretty well, but i think your features set is well ahead of that project.
best of luck - and hey, where is your tip jar? how can we incentive-ize you to spend more time on this :)
Try to add any expression outside a class / object, such as println. It's possible to run it with the scala command line tool, but not inside the IDE.<br/> I've also noted case is not being properly parsed when negative numbers are used, such as case -1 => doSomething() .<br /> Finally, indentation is broken if there are comments in the source file.