I would say it is a bug. I'm not aware that it is possible to tell Eclipse explicitly that on each run a new run configuration should be created.
On 05/15/2013 12:51 PM, Alastair Andrew wrote:
Hi,
I've been using the Scala IDE plugin (3.0.0-rc3-2) with Eclipse 4.2.2 on my Mac 10.6.8. I don't know whether this is normal behaviour but every time I run one of my Scala programs (by either pressing the green run button or using the right-click run as Scala Application method) it adds a new run configuration. If I run my Demo.scala file which is just a basic object that extends App what I'll find in the drop down next to the run button is 1. Demo$ (1). Every time I run this file via either of the methods I mentioned I'll get a new config added to that list 2. Demo$ (2) and so forth. During the course of my development I can run the same files dozens of times and it just totally bloats the run configuration list.
Is this a bug? Or is there some option I need to turn off somewhere?
You could try if it is possible to "solve" the bug when you delete all run configurations of the project, clean the project, close and open it or remove Scala nature and adding it again.
Cheers,
Alastair
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-user+unsubscribe@googlegroups.com.
On Wed, May 15, 2013 at 1:39 PM, Simon Schäfer <ma...@antoras.de> wrote:
I would say it is a bug. I'm not aware that it is possible to tell Eclipse explicitly that on each run a new run configuration should be created.
On 05/15/2013 12:51 PM, Alastair Andrew wrote:
Hi,
I've been using the Scala IDE plugin (3.0.0-rc3-2) with Eclipse 4.2.2 on my Mac 10.6.8. I don't know whether this is normal behaviour but every time I run one of my Scala programs (by either pressing the green run button or using the right-click run as Scala Application method) it adds a new run configuration. If I run my Demo.scala file which is just a basic object that extends App what I'll find in the drop down next to the run button is 1. Demo$ (1). Every time I run this file via either of the methods I mentioned I'll get a new config added to that list 2. Demo$ (2) and so forth. During the course of my development I can run the same files dozens of times and it just totally bloats the run configuration list.
Is this a bug? Or is there some option I need to turn off somewhere?
Can't reproduce it.. The code that reuses existing configurations is here:I don't see anything obviously wrong, but maybe if the configuration type is `null` (no idea when/why it would be null), it gives up too early.iulian
You could try if it is possible to "solve" the bug when you delete all run configurations of the project, clean the project, close and open it or remove Scala nature and adding it again.
Cheers,
Alastair
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.