This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[ANN][netbeans] New plugin for Scala-2.8.0.RC2 is available now

10 replies
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.

HI,

I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b

It has some minor bug fixes and:

* The debugger breakpoints should work under Windows now.
* Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by yourself
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

Per my recent experience, you may need to increase JVM setting of
XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
set:

Edit $NetBeansInstallationPath/etc/netbeans.conf
add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m

If you did not encounter any issue with Scala-2.8.0RC2 under previous
NetBeans plugin, you can choose to keep on it.

You can always find the latest information at:
http://wiki.netbeans.org/Scala68v1

Cheers,
-Caoyuan

Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is availabl
Hi Caoyuan,

I'm getting a nasty

java.lang.NoSuchMethodError: scala.collection.immutable.Range$ByOne.foreach$mVc$sp(Lscala/Function1;)V
    at org.netbeans.modules.scala.editor.ScalaFormatter.computeLineIndent(ScalaFormatter.scala:444)
    at org.netbeans.modules.scala.editor.ScalaFormatter.computeIndents(ScalaFormatter.scala:329)
    at org.netbeans.modules.scala.editor.ScalaFormatter.reindent(ScalaFormatter.scala:196)
    at org.netbeans.modules.scala.editor.ScalaFormatter.reformat(ScalaFormatter.scala:97)
    at org.netbeans.modules.csl.core.GsfReformatTask.reformat(GsfReformatTask.java:117)
    at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:547)
    at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:314)
    at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:293)
    at org.netbeans.modules.editor.indent.FormatterImpl.reformat(FormatterImpl.java:187)
    at org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1675)
    at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:357)
    at org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1643)
    at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:119)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)


every time I want to format. Its as if the plugin was compiled against scala lib that is not what I have??.
In the windows->other->Interactive scala shell I get this version:

Welcome to Scala version 2.8.0.RC2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_20).

I think its the right one. isn't it?.


Cheers

On Tue, May 11, 2010 at 8:03 AM, Caoyuan <dcaoyuan [at] gmail [dot] com> wrote:
HI,

I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b

It has some minor bug fixes and:

* The debugger breakpoints should work under Windows now.
* Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by yourself
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

Per my recent experience, you may need to increase JVM setting of
XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
set:

Edit $NetBeansInstallationPath/etc/netbeans.conf
add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m

If you did not encounter any issue with Scala-2.8.0RC2 under previous
NetBeans plugin, you can choose to keep on it.

You can always find the latest information at:
http://wiki.netbeans.org/Scala68v1

Cheers,
-Caoyuan

Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is availabl
Hi Caoyuan,

I'm getting a nasty

java.lang.NoSuchMethodError: scala.collection.immutable.Range$ByOne.foreach$mVc$sp(Lscala/Function1;)V
    at org.netbeans.modules.scala.editor.ScalaFormatter.computeLineIndent(ScalaFormatter.scala:444)
    at org.netbeans.modules.scala.editor.ScalaFormatter.computeIndents(ScalaFormatter.scala:329)
    at org.netbeans.modules.scala.editor.ScalaFormatter.reindent(ScalaFormatter.scala:196)
    at org.netbeans.modules.scala.editor.ScalaFormatter.reformat(ScalaFormatter.scala:97)
    at org.netbeans.modules.csl.core.GsfReformatTask.reformat(GsfReformatTask.java:117)
    at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:547)
    at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:314)
    at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:293)
    at org.netbeans.modules.editor.indent.FormatterImpl.reformat(FormatterImpl.java:187)
    at org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1675)
    at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:357)
    at org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1643)
    at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:119)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)


every time I want to format. Its as if the plugin was compiled against scala lib that is not what I have??.
In the windows->other->Interactive scala shell I get this version:

Welcome to Scala version 2.8.0.RC2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_20).

I think its the right one. isn't it?.


Cheers

On Tue, May 11, 2010 at 8:03 AM, Caoyuan <dcaoyuan [at] gmail [dot] com> wrote:
HI,

I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b

It has some minor bug fixes and:

* The debugger breakpoints should work under Windows now.
* Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by yourself
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

Per my recent experience, you may need to increase JVM setting of
XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
set:

Edit $NetBeansInstallationPath/etc/netbeans.conf
add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m

If you did not encounter any issue with Scala-2.8.0RC2 under previous
NetBeans plugin, you can choose to keep on it.

You can always find the latest information at:
http://wiki.netbeans.org/Scala68v1

Cheers,
-Caoyuan

H-star Development
Joined: 2010-04-14,
User offline. Last seen 2 years 26 weeks ago.
Re: Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is ava

same here when i tried to run my old (rc1) compiled classes against the
rc2 lib. a full rebuild helped.

Rodrigo Cano schrieb:
> Hi Caoyuan,
>
> I'm getting a nasty
> *
> java.lang.NoSuchMethodError:
> scala.collection.immutable.Range$ByOne.foreach$mVc$sp(Lscala/Function1;)V
> at
> org.netbeans.modules.scala.editor.ScalaFormatter.computeLineIndent(ScalaFormatter.scala:444)
> at
> org.netbeans.modules.scala.editor.ScalaFormatter.computeIndents(ScalaFormatter.scala:329)
> at
> org.netbeans.modules.scala.editor.ScalaFormatter.reindent(ScalaFormatter.scala:196)
> at
> org.netbeans.modules.scala.editor.ScalaFormatter.reformat(ScalaFormatter.scala:97)
> at
> org.netbeans.modules.csl.core.GsfReformatTask.reformat(GsfReformatTask.java:117)
> at
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:547)
> at
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:314)
> at
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:293)
> at
> org.netbeans.modules.editor.indent.FormatterImpl.reformat(FormatterImpl.java:187)
> at
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1675)
> at
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:357)
> at
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1643)
> at
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:119)
> at
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
> [catch] at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)*
>
> every time I want to format. Its as if the plugin was compiled against
> scala lib that is not what I have??.
> In the windows->other->Interactive scala shell I get this version:
>
> *Welcome to Scala version 2.8.0.RC2 (Java HotSpot(TM) 64-Bit Server
> VM, Java 1.6.0_20).*
>
> I think its the right one. isn't it?.
>
>
> Cheers
>
> On Tue, May 11, 2010 at 8:03 AM, Caoyuan > wrote:
>
> HI,
>
> I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b
>
> It has some minor bug fixes and:
>
> * The debugger breakpoints should work under Windows now.
> * Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc
> by yourself
> * Classes that are not under same named source files can be mostly be
> recognized by editor compiler now.
>
> Per my recent experience, you may need to increase JVM setting of
> XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
> set:
>
> Edit $NetBeansInstallationPath/etc/netbeans.conf
> add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m
>
> If you did not encounter any issue with Scala-2.8.0RC2 under previous
> NetBeans plugin, you can choose to keep on it.
>
> You can always find the latest information at:
> http://wiki.netbeans.org/Scala68v1
>
> Cheers,
> -Caoyuan
>
>

Stefan Langer
Joined: 2009-10-23,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is ava

THis is expected as Scala is not binary compatible to other releases

-Stefan

2010/5/12 HamsterofDeath :
> same here when i tried to run my old (rc1) compiled classes against the
> rc2 lib. a full rebuild helped.
>
> Rodrigo Cano schrieb:
>> Hi Caoyuan,
>>
>> I'm getting a nasty
>> *
>> java.lang.NoSuchMethodError:
>> scala.collection.immutable.Range$ByOne.foreach$mVc$sp(Lscala/Function1;)V
>>     at
>> org.netbeans.modules.scala.editor.ScalaFormatter.computeLineIndent(ScalaFormatter.scala:444)
>>     at
>> org.netbeans.modules.scala.editor.ScalaFormatter.computeIndents(ScalaFormatter.scala:329)
>>     at
>> org.netbeans.modules.scala.editor.ScalaFormatter.reindent(ScalaFormatter.scala:196)
>>     at
>> org.netbeans.modules.scala.editor.ScalaFormatter.reformat(ScalaFormatter.scala:97)
>>     at
>> org.netbeans.modules.csl.core.GsfReformatTask.reformat(GsfReformatTask.java:117)
>>     at
>> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:547)
>>     at
>> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:314)
>>     at
>> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:293)
>>     at
>> org.netbeans.modules.editor.indent.FormatterImpl.reformat(FormatterImpl.java:187)
>>     at
>> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1675)
>>     at
>> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:357)
>>     at
>> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1643)
>>     at
>> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:119)
>>     at
>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
>> [catch] at
>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)*
>>
>> every time I want to format. Its as if the plugin was compiled against
>> scala lib that is not what I have??.
>> In the windows->other->Interactive scala shell I get this version:
>>
>> *Welcome to Scala version 2.8.0.RC2 (Java HotSpot(TM) 64-Bit Server
>> VM, Java 1.6.0_20).*
>>
>> I think its the right one. isn't it?.
>>
>>
>> Cheers
>>
>> On Tue, May 11, 2010 at 8:03 AM, Caoyuan > > wrote:
>>
>>     HI,
>>
>>     I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
>>     https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b
>>
>>     It has some minor bug fixes and:
>>
>>     * The debugger breakpoints should work under Windows now.
>>     * Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc
>>     by yourself
>>     * Classes that are not under same named source files can be mostly be
>>     recognized by editor compiler now.
>>
>>     Per my recent experience, you may need to increase JVM setting of
>>     XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
>>     set:
>>
>>     Edit $NetBeansInstallationPath/etc/netbeans.conf
>>     add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m
>>
>>     If you did not encounter any issue with Scala-2.8.0RC2 under previous
>>     NetBeans plugin, you can choose to keep on it.
>>
>>     You can always find the latest information at:
>>     http://wiki.netbeans.org/Scala68v1
>>
>>     Cheers,
>>     -Caoyuan
>>
>>
>
>

Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is ava
I also updated my code from the working RC1 lib and plugin to the RC2. But I have encountered this problem. Full rebuild didn't helped for me :(

On Wed, May 12, 2010 at 11:41 AM, HamsterofDeath <h-star [at] gmx [dot] de> wrote:
same here when i tried to run my old (rc1) compiled classes against the
rc2 lib. a full rebuild helped.

Rodrigo Cano schrieb:
> Hi Caoyuan,
>
> I'm getting a nasty
> *
> java.lang.NoSuchMethodError:
> scala.collection.immutable.Range$ByOne.foreach$mVc$sp(Lscala/Function1;)V
>     at
> org.netbeans.modules.scala.editor.ScalaFormatter.computeLineIndent(ScalaFormatter.scala:444)
>     at
> org.netbeans.modules.scala.editor.ScalaFormatter.computeIndents(ScalaFormatter.scala:329)
>     at
> org.netbeans.modules.scala.editor.ScalaFormatter.reindent(ScalaFormatter.scala:196)
>     at
> org.netbeans.modules.scala.editor.ScalaFormatter.reformat(ScalaFormatter.scala:97)
>     at
> org.netbeans.modules.csl.core.GsfReformatTask.reformat(GsfReformatTask.java:117)
>     at
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:547)
>     at
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:314)
>     at
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:293)
>     at
> org.netbeans.modules.editor.indent.FormatterImpl.reformat(FormatterImpl.java:187)
>     at
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1675)
>     at
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:357)
>     at
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1643)
>     at
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:119)
>     at
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
> [catch] at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)*
>
> every time I want to format. Its as if the plugin was compiled against
> scala lib that is not what I have??.
> In the windows->other->Interactive scala shell I get this version:
>
> *Welcome to Scala version 2.8.0.RC2 (Java HotSpot(TM) 64-Bit Server
> VM, Java 1.6.0_20).*
>
> I think its the right one. isn't it?.
>
>
> Cheers
>
> On Tue, May 11, 2010 at 8:03 AM, Caoyuan <dcaoyuan [at] gmail [dot] com
> <mailto:dcaoyuan [at] gmail [dot] com>> wrote:
>
>     HI,
>
>     I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
>     https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b
>
>     It has some minor bug fixes and:
>
>     * The debugger breakpoints should work under Windows now.
>     * Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc
>     by yourself
>     * Classes that are not under same named source files can be mostly be
>     recognized by editor compiler now.
>
>     Per my recent experience, you may need to increase JVM setting of
>     XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
>     set:
>
>     Edit $NetBeansInstallationPath/etc/netbeans.conf
>     add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m
>
>     If you did not encounter any issue with Scala-2.8.0RC2 under previous
>     NetBeans plugin, you can choose to keep on it.
>
>     You can always find the latest information at:
>     http://wiki.netbeans.org/Scala68v1
>
>     Cheers,
>     -Caoyuan
>
>


tolsen77
Joined: 2008-10-08,
User offline. Last seen 1 year 38 weeks ago.
Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is availabl
About
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

How should package objects be handled? I'm currently creating directories with same name as the package object, and adding a package.scala in each directory with the actual code. RC1 marked classes in package objects as "missing" but are now correctly handled in RC2. The Navigator browser doesn't respond though (as in RC1) when browsing these package objects. Is there an easy fix for this?

On Tue, May 11, 2010 at 1:03 PM, Caoyuan <dcaoyuan [at] gmail [dot] com> wrote:
HI,

I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b

It has some minor bug fixes and:

* The debugger breakpoints should work under Windows now.
* Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by yourself
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

Per my recent experience, you may need to increase JVM setting of
XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
set:

Edit $NetBeansInstallationPath/etc/netbeans.conf
add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m

If you did not encounter any issue with Scala-2.8.0RC2 under previous
NetBeans plugin, you can choose to keep on it.

You can always find the latest information at:
http://wiki.netbeans.org/Scala68v1

Cheers,
-Caoyuan

tolsen77
Joined: 2008-10-08,
User offline. Last seen 1 year 38 weeks ago.
Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is availabl
About
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

How should package objects be handled? I'm currently creating directories with same name as the package object, and adding a package.scala in each directory with the actual code. RC1 marked classes in package objects as "missing" but are now correctly handled in RC2. The Navigator browser doesn't respond though (as in RC1) when browsing these package objects. Is there an easy fix for this?

On Tue, May 11, 2010 at 1:03 PM, Caoyuan <dcaoyuan [at] gmail [dot] com> wrote:
HI,

I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b

It has some minor bug fixes and:

* The debugger breakpoints should work under Windows now.
* Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by yourself
* Classes that are not under same named source files can be mostly be
recognized by editor compiler now.

Per my recent experience, you may need to increase JVM setting of
XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
set:

Edit $NetBeansInstallationPath/etc/netbeans.conf
add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m

If you did not encounter any issue with Scala-2.8.0RC2 under previous
NetBeans plugin, you can choose to keep on it.

You can always find the latest information at:
http://wiki.netbeans.org/Scala68v1

Cheers,
-Caoyuan

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is availabl

On Fri, May 14, 2010 at 1:49 AM, Trond Olsen wrote:
> About
> * Classes that are not under same named source files can be mostly be
> recognized by editor compiler now.
>
> How should package objects be handled? I'm currently creating directories
> with same name as the package object, and adding a package.scala in each
> directory with the actual code. RC1 marked classes in package objects as
> "missing" but are now correctly handled in RC2. The Navigator browser
> doesn't respond though (as in RC1) when browsing these package objects. Is
> there an easy fix for this?

For package object, fixing the navigator window should be easy, what I
concern is that sometimes the implicit definitions can be missed in
editor when this package's source file is not opened once first.

I'll fix the navigator window soon.

-Caoyuan

>
> On Tue, May 11, 2010 at 1:03 PM, Caoyuan wrote:
>>
>> HI,
>>
>> I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
>> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b
>>
>> It has some minor bug fixes and:
>>
>> * The debugger breakpoints should work under Windows now.
>> * Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by
>> yourself
>> * Classes that are not under same named source files can be mostly be
>> recognized by editor compiler now.
>>
>> Per my recent experience, you may need to increase JVM setting of
>> XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
>> set:
>>
>> Edit $NetBeansInstallationPath/etc/netbeans.conf
>> add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m
>>
>> If you did not encounter any issue with Scala-2.8.0RC2 under previous
>> NetBeans plugin, you can choose to keep on it.
>>
>> You can always find the latest information at:
>> http://wiki.netbeans.org/Scala68v1
>>
>> Cheers,
>> -Caoyuan
>
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN][netbeans] New plugin for Scala-2.8.0.RC2 is availabl

On Fri, May 14, 2010 at 1:49 AM, Trond Olsen wrote:
> About
> * Classes that are not under same named source files can be mostly be
> recognized by editor compiler now.
>
> How should package objects be handled? I'm currently creating directories
> with same name as the package object, and adding a package.scala in each
> directory with the actual code. RC1 marked classes in package objects as
> "missing" but are now correctly handled in RC2. The Navigator browser
> doesn't respond though (as in RC1) when browsing these package objects. Is
> there an easy fix for this?

For package object, fixing the navigator window should be easy, what I
concern is that sometimes the implicit definitions can be missed in
editor when this package's source file is not opened once first.

I'll fix the navigator window soon.

-Caoyuan

>
> On Tue, May 11, 2010 at 1:03 PM, Caoyuan wrote:
>>
>> HI,
>>
>> I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
>> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b
>>
>> It has some minor bug fixes and:
>>
>> * The debugger breakpoints should work under Windows now.
>> * Several new code-templates. Try "ca" + [TAB], "th" + [TAB] etc by
>> yourself
>> * Classes that are not under same named source files can be mostly be
>> recognized by editor compiler now.
>>
>> Per my recent experience, you may need to increase JVM setting of
>> XX:MaxPermSize to 300m or 500m to work under new Scala-2.8.0RC2, to
>> set:
>>
>> Edit $NetBeansInstallationPath/etc/netbeans.conf
>> add or change: -J-Xmx1024m -J-XX:MaxPermSize=500m
>>
>> If you did not encounter any issue with Scala-2.8.0RC2 under previous
>> NetBeans plugin, you can choose to keep on it.
>>
>> You can always find the latest information at:
>> http://wiki.netbeans.org/Scala68v1
>>
>> Cheers,
>> -Caoyuan
>
>

bertvv
Joined: 2010-05-20,
User offline. Last seen 42 years 45 weeks ago.
Re: New plugin for Scala-2.8.0.RC2 is available now

dcaoyuan wrote:
>
> I just put the new NetBeans plugins for Scala-2.8.0.RC2 at:
> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0rc2b
>

I have installed this following the instructions on
http://wiki.netbeans.org/Scala68v1#Install_with_NetBeans_6.8 the NetBeans
Wiki , but I get the "illegal inheritance" error. This is discussed
http://scala-programming-language.1934581.n4.nabble.com/scala-tools-Scal...
elsewhere and what I read suggests that incompatible versions of Scala,
Netbeans and the plugin are the cause. However, I would expect that the
versions mentioned in your install instructions would work. I run Netbeans
6.8 (stable) on Ubuntu Karmic, Scala 2.8.0 RC2, and nb-scala-6.8v1.1.0rc2b.
There's only one Scala installation active on my system, I cleaned up old
Netbeans configuration files (~/.netbeans) and the old nbproject directory,
set netbeans.conf and $SCALA_HOME as instructed. Any ideas as to what can
cause this?

BTW, Adventures with nightly builds do not appeal to me very much... ;-)

Thanks!

bert

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland