About: Caoyuan's Blog
Browse by time:
- January 2012 (1)
- December 2009 (2)
- November 2009 (2)
- October 2009 (2)
- September 2009 (5)
- August 2009 (4)
- July 2009 (1)
- June 2009 (3)
- May 2009 (1)
- April 2009 (2)
- March 2009 (3)
- February 2009 (15)
- January 2009 (2)
- December 2008 (4)
- November 2008 (5)
- October 2008 (6)
- September 2008 (1)
- August 2008 (1)
- July 2008 (5)
- June 2008 (1)
- May 2008 (4)
- April 2008 (5)
- March 2008 (7)
- February 2008 (5)
- January 2008 (7)
- December 2007 (8)
- November 2007 (3)
- October 2007 (8)
- September 2007 (4)
- August 2007 (6)
- July 2007 (5)
- June 2007 (1)
- May 2007 (4)
- April 2007 (8)
- March 2007 (3)
- February 2007 (3)
- January 2007 (2)
- December 2006 (2)
- November 2006 (4)
- October 2006 (1)
- September 2006 (2)
- August 2006 (1)
- July 2006 (2)
- June 2006 (5)
- May 2006 (6)
- April 2006 (7)
- March 2006 (2)
- December 2005 (4)
NetBeans Scala Plugin Works on 7.1
>>> Updated on Jan 23, 2011
I just uploaded a new version of Scala plugin for NetBeans 7.1, which fixed the right-click issue. To download: http://sourceforge.net/projects/erlybird/files/nb-scala/7.1v2.9.x/
===
NetBeans 7.1 released several days ago, I downloaded and installed the plugin for Scala-2.9.x, and it works.
![(please configure the [header_logo] section in trac.ini)](/chrome/!97aa87b5/site/your_project_logo.png)
rss
Comments
I was unsuccessful in installing the Scala 2.9.x plugin to NetBeans 7.1.
Attempting to install the plugin using the downloaded plugins dialog box results in the following error message:
"Some plugins require plugin Editor Library to be installed.
The plugin Editor Library is requested in version >= 2.1 (release version 2) but only 3.17.1.19.25 (of release version different from 2) was found.
The following plugins are affected:
Some plugins require plugin Parsing API to be installed.
The plugin Parsing API is requested in implementation version 4.
The following plugins are affected:
So, given this result, does anyone have any suggestions?
not working for me, got a NPE:
whenever i right-click on a .scala file its definitivly _not_ working - or someone did not even beta test it. could be considered as alpha.
For the NPE, it's an uncompatible issue under netbeans 7.1, I just fixed it on https://github.com/dcaoyuan/nbscala, will release a new version soon.
This is from the first anonymous poster with the comment on 2012-01-12.
Today's release of the updated NB IDE 7.1 Scala 2.9 plugin on SourceForge? appears to have resolved the issues I was encountering before.
The plugin appears to have installed. However, the following error message shows up in a dialog when restarting the IDE after installation:
==============================================================================
=============================================================================
Aside from this issue, the plugin appears to be working.
Many thanks for updating this tremendous resource for both the NetBeans IDE and Scala communities!!
Please check your environment variable SCALA_HOME, it should point to a Scala 2.9.x installation. Or, that's a just a scala's compiler bug, try to fix your code, and it should won't happen frequently. Or, you can check the netbeans' config file (which is located at install_dir/etc/netbeans.conf), to see if there is "-ea" argument, if true, remove it.
I have previously been doing NetBeans projects with mixed Java and Scala code. The NetBeans 7.1 / Scala 2.9 plugin works fine for Scala specific projects. When Scala files are added to Java projects, the editor does not apply the syntax highlighting and the following exception appears in the lower-right corner of the IDE:
Is there some further configuration needed to let the editor handle Scala files outside of Scala-specific projects? Again, this worked before in prior versions of the plugin.
Thanks!
Thank You Caoyuan for great job.