nbscala-2.8.x - plugin detailScala plugin for NetBeans 7.0, works with Scala 2.8.x
[ You have to be logged in to be able to comment. ] User CommentsNB 7.1
Uncover the joy of exquisite living amidst a verdent setting, proximity to renowned schools and the convenience of being just minutes from city centre at Sembawang EC
Posted by ironman9 on May 23, 2013
Netbeans 7.2 with Scala 2.10
There are 2 missing lines in build-impl.xml This worked for me https://github.com/dcaoyuan/nbscala/issues/69
Posted by Twibber on Feb 14, 2013
NB 7.1 with Scala 2.9.1
@alanbur here a tutorial to Netbeans 7.1 http://www.hashcode.eti.br/?p=429
Posted by shairon.toledo on Feb 02, 2012
NB 7.1 support?
Any ETA for NetBeans 7.1 support for this plugin?
Posted by alanbur on Jan 09, 2012
URLs for new project home and binary builds
Found the following:
new project home binary builds
Posted by mrtwice99 on Dec 09, 2011
can it be updated for scala 2.9.1?
Hi, could this plugin be upgraded to scala 2.9.1?
Posted by NBLover1258 on Nov 11, 2011
@tmnelson:
Installation Tip: Try setting the scala path in the netbeans.conf:
netbeans_default_options="-J-client .... -J-Dsun.java2d.noddraw=true -J-Dscala.home=C:/scala-2.8.1" I just had the same problem here.
Posted by vorgi on Oct 10, 2011
Not quite working
Installation seemed to go OK, I was able to create a project, but when I try to run it I get an error saying "Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found." followed by "failed to create task or type scalac". Is there some set-up step I missed?
Posted by tmnelson on Sep 28, 2011
Really helpful to get into Scala
I just wrote my first useful Scala Program, because the xml abilities of Scala ("inline" xml) really are unique. What I didn't expect is that this scala plugin keeps track with all the inline xml with code inside the xml and even the debugger worked perfectly. My full respect here.
Note that the plugin name is true and it really does not work with Scala > 2.8.x. I mistakenly installed 2.9 and had no code completion.
Posted by vorgi on Jul 18, 2011
@ispy12
Thanks, now it installs without problem :)
Posted by robertforsgren on Jun 27, 2011
@robertforsgren
Just had the same problem. But I had installed the netbeans 6.5 version by accident earlier. That version had failed but still showed up in the downloaded plugins tab.
So, I selected all the items in the downloaded plugins tab under netbeans plugins. I clicked REMOVE one by one. Then I selected add plugins and reselected the scala plugin files. The install wizard worked again and this time it installed without a problem.
Posted by ispy12 on Jun 16, 2011
Unable to install
Installed NetBeans 7.0 (JEE package, build 201104080000) and updated plugins, downloaded this plugin and tried to install (all nbm-files).
Getting following install errors, is this plugin really for 7.0? Some plugins require plugin Common Scripting Language API (new) to be installed. The plugin Common Scripting Language API (new) is requested in implementation version 1. The following plugin is affected: Scala Editor Some plugins require plugin Common Scripting Language API (new) to be installed. The plugin Common Scripting Language API (new) is requested in version >= 1.9 (release version 1) but only 2.14.2.2.1.1.6 (of release version different from 1) was found. The following plugin is affected: Scala Debugger Projects Integration Some plugins require plugin Editor Library to be installed. The plugin Editor Library is requested in version >= 1.30 (release version 1) but only 3.8.1.13.9 (of release version different from 1) was found. The following plugins are affected: Scala Debugger Projects Integration Scala Editor Some plugins require plugin Parsing API to be installed. The plugin Parsing API is requested in implementation version 2. The following plugin is affected: Scala Editor Some plugins not installed to avoid potential installation problems.
Posted by robertforsgren on Jun 13, 2011
Great, but...
It's a great plugin, but I'm still using it only as a syntax highlight plugin. I always get ClassNotFoundException. And this is since NB 6.8!
Posted by _m4c0_ on Jun 03, 2011
Plugin creates InvocationTargetExceptions - here is a possible fix
Note that the Netbeans 7.0 error reporting is broken when working with Scala 2.9.0...
Hi dcaoyuan, The java.lang.reflect.InvocationTargetException that occurs is due to a change in the Scala2.9.0 APIs relative to 2.8.x. Some code in the plugin refers to old 2.8.x class: scala.tools.nsc.symtab.Types$NullaryMethodType but should be (in 2.9.0): scala.reflect.generic.Types.NullaryMethodType This may also be helpful: References to "whatever.old.package".NameTransformer (2.8.x) should be (2.9.0) scala.reflect.NameTransformer.{decode(String), code(String)} Thanks for working on this plugin - it is needed indeed... Some additional info: *** IDE-Log snippet... traceback *** INFO [org.netbeans.modules.scala.core.ScalaParser]: Ready to parse ScalaReflection.scala INFO [org.netbeans.modules.scala.core.ScalaGlobal]: InvocationTargetException processed, will start a newRunnerThread: null WARNING [org.netbeans.modules.scala.core.ScalaGlobal$]: Will reset global late due to: java.lang.ClassNotFoundException: scala.tools.nsc.symtab.Types$NullaryMethodType at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) Caused: java.lang.NoClassDefFoundError: scala/tools/nsc/symtab/Types$NullaryMethodType at scala.tools.selectivecps.SelectiveCPSPlugin.(SelectiveCPSPlugin.scala:23) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at scala.tools.nsc.plugins.Plugin$.instantiate(Plugin.scala:150) at scala.tools.nsc.plugins.Plugins$$anonfun$loadRoughPluginsList$1.apply(Plugins.scala:35) at scala.tools.nsc.plugins.Plugins$$anonfun$loadRoughPluginsList$1.apply(Plugins.scala:35) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:204) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:204) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) at scala.collection.immutable.List.foreach(List.scala:45) at scala.collection.TraversableLike$class.map(TraversableLike.scala:204) at scala.collection.immutable.List.map(List.scala:45) at scala.tools.nsc.plugins.Plugins$class.loadRoughPluginsList(Plugins.scala:35) at scala.tools.nsc.Global.loadRoughPluginsList(Global.scala:33) at scala.tools.nsc.plugins.Plugins$class.roughPluginsList(Plugins.scala:38) at scala.tools.nsc.Global.roughPluginsList(Global.scala:33) at scala.tools.nsc.plugins.Plugins$class.loadPlugins(Plugins.scala:74) at scala.tools.nsc.Global.loadPlugins(Global.scala:33) at scala.tools.nsc.plugins.Plugins$class.plugins(Plugins.scala:99) at scala.tools.nsc.Global.plugins(Global.scala:33) at scala.tools.nsc.plugins.Plugins$class.computePluginPhases(Plugins.scala:110) at scala.tools.nsc.Global.computePluginPhases(Global.scala:33) at scala.tools.nsc.Global.computePhaseDescriptors(Global.scala:548) at scala.tools.nsc.Global.phaseDescriptors(Global.scala:553) at scala.tools.nsc.Global$Run.(Global.scala:610) at org.netbeans.modules.scala.core.interactive.Global$TyperRun.(Global.scala:608) at org.netbeans.modules.scala.core.interactive.Global.newTyperRun(Global.scala:672) at org.netbeans.modules.scala.core.interactive.Global.reloadSources(Global.scala:304) at org.netbeans.modules.scala.core.interactive.Global.typedTreeAt(Global.scala:324) at org.netbeans.modules.scala.core.interactive.Global.typeMembers(Global.scala:430) at org.netbeans.modules.scala.core.interactive.Global$$anonfun$getTypeCompletion$1.apply(Global.scala:425) at org.netbeans.modules.scala.core.interactive.Global$$anonfun$getTypeCompletion$1.apply(Global.scala:425) at org.netbeans.modules.scala.core.interactive.Global.respond(Global.scala:291) at org.netbeans.modules.scala.core.interactive.Global.getTypeCompletion(Global.scala:425) at org.netbeans.modules.scala.core.interactive.CompilerControl$$anon$4.apply$mcV$sp(CompilerControl.scala:105) at org.netbeans.modules.scala.core.interactive.Global.pollForWork(Global.scala:140) [catch] at org.netbeans.modules.scala.core.interactive.Global$$anon$2.run(Global.scala:201)
Posted by k-omega on May 22, 2011
Best Scala Plugin Yet....with some issues
Having tried Eclipse, IntelliJ and Netbeans 7, I think this plugin with Netbeans 7 is the best. Code completion usually works, projects build, and run. The only issue I have at the moment is that when importing legacy java code into the project, is gives errors in the editor saying the packages don't exist, however the project will still build normally (thankfully). Hopefully this will get fixed soon and I'll be in scala heaven. Thanks!
Posted by OdysseyFX on May 18, 2011
|