Scala for NetBeans Recent Updates
I added a changelog page on http://wiki.netbeans.org/ScalaChangeLog, where you can learn the latest progressing.
Here is a summary of recent updates:
20080214 (Needs latest nightly build)
- [Editing] fixed: highlighting of occurences is not properly refreshed
20080213 (Needs latest nightly build)
- [Editing] fixed some issues of indent and brace-completion
20080212 (Needs latest nightly build)
- [Editing] fixed: case pattern cause a parser error at the minus symbol before number. (Thanks to misterm for reporting)
- [Project] sync with java.commonapi. Needs latest nightly build
20080205
- [Editing] fixed some broken grammars. (Thanks to Michael Nischt for collecting)
- [Project] fixed environment property, now scala.home property may not need to be set. (Thanks to Denis)
20080204
- [Debugger] fixed exceptions when put cursor on code
- [Debugger] "Add watches" should work now
Working with NetBeans Mercurial Repository
Just back from snowboarding. I tried to hg pull -uv to update to the latest code base of NetBeans, but got:
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 0.9.4)
Traceback (most recent call last):
File "/opt/local/bin/hg", line 11, in ?
mercurial.commands.run()
File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py", line 3110, in run
sys.exit(dispatch(sys.argv[1:], argv0=sys.argv[0]))
File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py", line 3107, in dispatch
return cmdutil.runcatch(u, args, argv0=argv0)
File "/opt/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 37, in runcatch
return dispatch(ui, args, argv0=argv0)
File "/opt/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 364, in dispatch
ret = runcommand(ui, options, cmd, d)
File "/opt/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 417, in runcommand
return checkargs()
File "/opt/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 373, in checkargs
return cmdfunc()
File "/opt/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 356, in
It was the second time I encountered this issue, I don't know why, so, I just upgraded my Mercurial from 0.9.4 to 0.9.5, and tried to get a new clone. I typed:
hg clone http://hg.netbeans.org
Everything seemed going smoothly, I had a new repository now. I copied my old hgrc to replace the un-configured one, and typed ant build, guess what? I got a lot of package javax.help does not exist, build failed. I knew that was because of that the binary files were not downloaded properly. It seemed I should leave the original hdrc there, and let ant hook the external.py. So I removed all extra lines except the original content of hgrc:
[paths] default = http://hg.netbeans.org/main/
And tried ant build again, this time it went smoothly again.
LESSON: Do not modify hgrc before you do first "ant build", which will hook external.py and add "decode", "encode" automatically.
Vacation for Snowboarding
Scala for NetBeans: Debugger Modules are Available for Test
=== Updated Feb 5 ==>
I just fixed a defect of debugger modules, the updated modules will be available after new nightly build successfully. Since the underlaying changes of NetBeans APIs, you may need to download a new nightly build.
===
Scala Debugger modules are available for preview and test, which can be installed via Update Center for newest nightly build version of NetBeans (I tested on NetBeans IDE 6.1 200802040003). Debug feature includes two modules: Scala Debugger and Scala Debugger Projects Integration (you can click on "Name" in "Available Plugins" tab to find them), for more getting started information, please see http://wiki.netbeans.org/Scala
Google Group:
- Ian create a google group for Scala for NetBeans: http://groups.google.com/group/scala-netbeans
Known Issues:
- "Run to cursor" does not work yet
- "Step into Scala standard library's code" is not supported yet
"Add watches" is not supported yet- Complex condictions are not tested yet
Adventure with Nightly Build:
- Nightly build version of NetBeans changes frequently, please check updates frequently too: "Tool"->"Plugins"->"Reload Category" (please update all available modules, including those not relating to Scala). If things are broken, re-download a new nightly build and try ...
![(please configure the [header_logo] section in trac.ini)](/chrome/!97aa87b5/site/your_project_logo.png)
rss