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

Re: Eclipse Plugin working much better!

12 replies
Justin du coeur
Joined: 2009-03-04,
User offline. Last seen 42 years 45 weeks ago.
On Mon, Mar 23, 2009 at 6:06 PM, Russ Paielli <russ.paielli@gmail.com> wrote:
I'm thinking about trying Eclipse, but before I do I'd like to get an idea about how well it works remotely over a cable internet connection. I sometimes work from home using Linux on both ends and ssh -X over Comcast cable. Has anyone used Eclipse with that sort of setup? If so, how fast does it respond? Thanks.

Can't speak to how it works on X specifically, but I have essentially this configuration (using a Comcast cable modem), and do most of my Eclipse work using Windows' Remote Desktop.  It's not *stellar*, but I've found it entirely workable.  (And one would hope that Linux at both ends is likely to be more efficient than Windows at both ends...)

Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: Eclipse Plugin working much better!
Although I think I may have read that Eclipse in general is slower on Linux...

On Mon, Mar 23, 2009 at 6:14 PM, Justin du coeur <jducoeur@gmail.com> wrote:
On Mon, Mar 23, 2009 at 6:06 PM, Russ Paielli <russ.paielli@gmail.com> wrote:
I'm thinking about trying Eclipse, but before I do I'd like to get an idea about how well it works remotely over a cable internet connection. I sometimes work from home using Linux on both ends and ssh -X over Comcast cable. Has anyone used Eclipse with that sort of setup? If so, how fast does it respond? Thanks.

Can't speak to how it works on X specifically, but I have essentially this configuration (using a Comcast cable modem), and do most of my Eclipse work using Windows' Remote Desktop.  It's not *stellar*, but I've found it entirely workable.  (And one would hope that Linux at both ends is likely to be more efficient than Windows at both ends...)


rytz
Joined: 2008-07-01,
User offline. Last seen 45 weeks 5 days ago.
Re: Eclipse Plugin working much better!
OK - I'm having quite a bunch of problems with the current nightlies, one is
http://lampsvn.epfl.ch/trac/scala/ticket/1669.

Another one is that I quite often get a java.util.ConcurrentModificationException
(Problems occurred when invoking code from plug-in: "org.eclipse.jface".) when
selecting (not opening) files in the project explorer.
http://lampsvn.epfl.ch/trac/scala/ticket/1763 / http://lampsvn.epfl.ch/trac/scala/ticket/1776

And after seeing that Exception, files will open without any syntax highlighting,
although hyperlinking and outline view still work.

You never saw any of these?

Lukas


On Mon, Mar 23, 2009 at 22:22, Josh Suereth <joshua.suereth@gmail.com> wrote:
Nightly.

On Mon, Mar 23, 2009 at 5:21 PM, Lukas Rytz <lukas.rytz@epfl.ch> wrote:
Which version of the plugin did you use?

On Mon, Mar 23, 2009 at 15:32, Josh Suereth <joshua.suereth@gmail.com> wrote:
I'd like to congratulate everyone helping out the eclipse plugin (Specifically Miles Sabin, but others as well), on doing a great job in stabilizing the plugin.   I've recently been working in a not-insignificant (but not amazingly large) project.  I'm using Multi-module maven (4 projects) with interdependencies, and the workspace is fast and responsive.  Although there are a few rare instances when things get out-of-control, I've been able to succesfully code up a 100% scala project including unit tests, and I wasn't spending most of my time chasing down eclipse plugin bugs (like... say... a year ago when I first attempted the same feat). 

So... Congratulations to all Eclipse plugin developers!  Good show.


-Josh Suereth



Iulian Dragos
Joined: 2008-12-18,
User offline. Last seen 42 years 45 weeks ago.
Re: Eclipse Plugin working much better!

Keep on doing great work! In terms of features, the Eclipse plugin is
really great, and very useful when it works. However, it is small and
insignificant features like this one that made me switch back to
emacs:

http://lampsvn.epfl.ch/trac/scala/ticket/1733

I really hope I'll be able to come back to Eclipse (I still use it as
a debugger and for toy projects) at some point. 2.8.0 maybe? ;-)

Cheers,
iulian
PS. I can reproduce the problems Lukas reported below, but that's no
wonder since we share the office.

On Tue, Mar 24, 2009 at 8:24 AM, Lukas Rytz wrote:
> OK - I'm having quite a bunch of problems with the current nightlies, one is
> http://lampsvn.epfl.ch/trac/scala/ticket/1669.
>
> Another one is that I quite often get a
> java.util.ConcurrentModificationException
> (Problems occurred when invoking code from plug-in: "org.eclipse.jface".)
> when
> selecting (not opening) files in the project explorer.
> http://lampsvn.epfl.ch/trac/scala/ticket/1763 /
> http://lampsvn.epfl.ch/trac/scala/ticket/1776
>
> And after seeing that Exception, files will open without any syntax
> highlighting,
> although hyperlinking and outline view still work.
>
> You never saw any of these?
>
> Lukas
>
>
> On Mon, Mar 23, 2009 at 22:22, Josh Suereth
> wrote:
>>
>> Nightly.
>>
>> On Mon, Mar 23, 2009 at 5:21 PM, Lukas Rytz wrote:
>>>
>>> Which version of the plugin did you use?
>>>
>>> On Mon, Mar 23, 2009 at 15:32, Josh Suereth
>>> wrote:
>>>>
>>>> I'd like to congratulate everyone helping out the eclipse plugin
>>>> (Specifically Miles Sabin, but others as well), on doing a great job in
>>>> stabilizing the plugin.   I've recently been working in a not-insignificant
>>>> (but not amazingly large) project.  I'm using Multi-module maven (4
>>>> projects) with interdependencies, and the workspace is fast and responsive.
>>>> Although there are a few rare instances when things get out-of-control, I've
>>>> been able to succesfully code up a 100% scala project including unit tests,
>>>> and I wasn't spending most of my time chasing down eclipse plugin bugs
>>>> (like... say... a year ago when I first attempted the same feat).
>>>>
>>>> So... Congratulations to all Eclipse plugin developers!  Good show.
>>>>
>>>>
>>>> -Josh Suereth
>>>
>>
>
>

imaier
Joined: 2008-07-01,
User offline. Last seen 23 weeks 2 days ago.
Re: Eclipse Plugin working much better!

Iulian Dragos wrote:
> Cheers,
> iulian
> PS. I can reproduce the problems Lukas reported below, but that's no
> wonder since we share the office.

Me too, but we share at least one wall :)

I am wondering whether the plugin developers actually eat their own dog
food. I am experiencing these and other rather random issues such as cut
and paste failing while working on the compiler project but also while
browsing the plugin source.

Ingo

>
> On Tue, Mar 24, 2009 at 8:24 AM, Lukas Rytz wrote:
>> OK - I'm having quite a bunch of problems with the current nightlies, one is
>> http://lampsvn.epfl.ch/trac/scala/ticket/1669.
>>
>> Another one is that I quite often get a
>> java.util.ConcurrentModificationException
>> (Problems occurred when invoking code from plug-in: "org.eclipse.jface".)
>> when
>> selecting (not opening) files in the project explorer.
>> http://lampsvn.epfl.ch/trac/scala/ticket/1763 /
>> http://lampsvn.epfl.ch/trac/scala/ticket/1776
>>
>> And after seeing that Exception, files will open without any syntax
>> highlighting,
>> although hyperlinking and outline view still work.
>>
>> You never saw any of these?
>>
>> Lukas
>>
>>
>> On Mon, Mar 23, 2009 at 22:22, Josh Suereth
>> wrote:
>>> Nightly.
>>>
>>> On Mon, Mar 23, 2009 at 5:21 PM, Lukas Rytz wrote:
>>>> Which version of the plugin did you use?
>>>>
>>>> On Mon, Mar 23, 2009 at 15:32, Josh Suereth
>>>> wrote:
>>>>> I'd like to congratulate everyone helping out the eclipse plugin
>>>>> (Specifically Miles Sabin, but others as well), on doing a great job in
>>>>> stabilizing the plugin. I've recently been working in a not-insignificant
>>>>> (but not amazingly large) project. I'm using Multi-module maven (4
>>>>> projects) with interdependencies, and the workspace is fast and responsive.
>>>>> Although there are a few rare instances when things get out-of-control, I've
>>>>> been able to succesfully code up a 100% scala project including unit tests,
>>>>> and I wasn't spending most of my time chasing down eclipse plugin bugs
>>>>> (like... say... a year ago when I first attempted the same feat).
>>>>>
>>>>> So... Congratulations to all Eclipse plugin developers! Good show.
>>>>>
>>>>>
>>>>> -Josh Suereth
>>
>
>
>

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: Eclipse Plugin working much better!
No.  At least not in my personal projects. 

However, I do see more issues when 'dogfooding' the plugin.  I attribute a lot of that to a few things:
  * Excessive use of traits
  * special "somewhat working" optimizations in the eclipse plugin for excessive use of traits
  * dogfooding process is freaking out eclipse.  I lean away from that, as it doesn't quite make sense. 
I'm hoping with time we can begin to fix some of these issues

Try a  project that isn't using virtual classes or the cake pattern and you'll see the plugin is able to handle it pretty well.  That said, hopefully in the future the plugin will handle all types of scala projects.

-Josh



On Tue, Mar 24, 2009 at 3:24 AM, Lukas Rytz <lukas.rytz@epfl.ch> wrote:
OK - I'm having quite a bunch of problems with the current nightlies, one is
http://lampsvn.epfl.ch/trac/scala/ticket/1669.

Another one is that I quite often get a java.util.ConcurrentModificationException
(Problems occurred when invoking code from plug-in: "org.eclipse.jface".) when
selecting (not opening) files in the project explorer.
http://lampsvn.epfl.ch/trac/scala/ticket/1763 / http://lampsvn.epfl.ch/trac/scala/ticket/1776

And after seeing that Exception, files will open without any syntax highlighting,
although hyperlinking and outline view still work.

You never saw any of these?

Lukas


On Mon, Mar 23, 2009 at 22:22, Josh Suereth <joshua.suereth@gmail.com> wrote:
Nightly.

On Mon, Mar 23, 2009 at 5:21 PM, Lukas Rytz <lukas.rytz@epfl.ch> wrote:
Which version of the plugin did you use?

On Mon, Mar 23, 2009 at 15:32, Josh Suereth <joshua.suereth@gmail.com> wrote:
I'd like to congratulate everyone helping out the eclipse plugin (Specifically Miles Sabin, but others as well), on doing a great job in stabilizing the plugin.   I've recently been working in a not-insignificant (but not amazingly large) project.  I'm using Multi-module maven (4 projects) with interdependencies, and the workspace is fast and responsive.  Although there are a few rare instances when things get out-of-control, I've been able to succesfully code up a 100% scala project including unit tests, and I wasn't spending most of my time chasing down eclipse plugin bugs (like... say... a year ago when I first attempted the same feat). 

So... Congratulations to all Eclipse plugin developers!  Good show.


-Josh Suereth




milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse Plugin working much better!

On Tue, Mar 24, 2009 at 9:58 AM, Iulian Dragos wrote:
> Keep on doing great work! In terms of features, the Eclipse plugin is
> really great, and very useful when it works. However, it is small and
> insignificant features like this one that made me switch back to
> emacs:
>
> http://lampsvn.epfl.ch/trac/scala/ticket/1733

Err ... you tried the workaround that I mention in the comments on that bug?

Cheers,

Miles

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse Plugin working much better!

On Tue, Mar 24, 2009 at 7:24 AM, Lukas Rytz wrote:
> Another one is that I quite often get a
> java.util.ConcurrentModificationException
> (Problems occurred when invoking code from plug-in: "org.eclipse.jface".)
> when
> selecting (not opening) files in the project explorer.
> http://lampsvn.epfl.ch/trac/scala/ticket/1763 /
> http://lampsvn.epfl.ch/trac/scala/ticket/1776

I'll have a fix for these two committed very soon.

Cheers,

Miles

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse Plugin working much better!

On Tue, Mar 24, 2009 at 10:15 AM, Ingo Maier wrote:
> I am wondering whether the plugin developers actually eat their own dog
> food.

I very definitely do ... updates to the plugin are invariably
committed to SVN using a plugin which incorporates those changes.

I see all the issues you're seeing but pretty clearly less frequently
than you do. It'd be interesting to get to the bottom of exactly why
that is: platform? resources?

Cheers,

Miles

imaier
Joined: 2008-07-01,
User offline. Last seen 23 weeks 2 days ago.
Re: Eclipse Plugin working much better!

Miles Sabin wrote:
> On Tue, Mar 24, 2009 at 10:15 AM, Ingo Maier wrote:
>> I am wondering whether the plugin developers actually eat their own dog
>> food.
>
> I very definitely do ... updates to the plugin are invariably
> committed to SVN using a plugin which incorporates those changes.
>
> I see all the issues you're seeing but pretty clearly less frequently
> than you do. It'd be interesting to get to the bottom of exactly why
> that is: platform? resources?

Mac OS, -Xmx1500m or so. I have the feeling that the plugin is very
fragile when not treated with caution. The copy and paste bug, for
example, happens most often when I do some quick
cut-to-the-end-of-line's ala emacs. The concurrent mod exception seems
to happen more often when I do two double clicks on a file in a row,
sometimes on the first try the file does not open, or when I quickly
open two files one after the other. It's only a feeling, though, I have
not measurable data for this :)

Ingo

>
> Cheers,
>
>
> Miles
>

Iulian Dragos
Joined: 2008-12-18,
User offline. Last seen 42 years 45 weeks ago.
Re: Eclipse Plugin working much better!

On Tue, Mar 24, 2009 at 12:30 PM, Miles Sabin wrote:
> On Tue, Mar 24, 2009 at 9:58 AM, Iulian Dragos wrote:
>> Keep on doing great work! In terms of features, the Eclipse plugin is
>> really great, and very useful when it works. However, it is small and
>> insignificant features like this one that made me switch back to
>> emacs:
>>
>> http://lampsvn.epfl.ch/trac/scala/ticket/1733
>
> Err ... you tried the workaround that I mention in the comments on that bug?

Yes, and it works! The other reasons for switching to emacs are my
personal lack of time (although it is very rewarding to see bug
reports investigated so quickly!), and that syntax highlighting
doesn't work way too often. I know the compiler code is complex and
not that usual, so I don't expect these bugs to be fixed very soon. In
the end, I am more efficient with something that works all the time
for simple things (emacs), than a very advanced IDE that sometimes
does not do even simple things. Please don't take this as criticizing
your work, you are doing a great job, and I wish I had more time to
help (through bug reports)!

cheers,
iulian

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse Plugin working much better!

2009/3/24 Lukas Rytz :
> OK - I'm having quite a bunch of problems with the current nightlies, one is
> http://lampsvn.epfl.ch/trac/scala/ticket/1669.
>
> Another one is that I quite often get a java.util.ConcurrentModificationException
> (Problems occurred when invoking code from plug-in: "org.eclipse.jface".) when
> selecting (not opening) files in the project explorer.
> http://lampsvn.epfl.ch/trac/scala/ticket/1763 / http://lampsvn.epfl.ch/trac/scala/ticket/1776

OK, these should all be fixed now ... #1669 by a patch from Ben
Hutchison, thanks!

Cheers,

Miles

rytz
Joined: 2008-07-01,
User offline. Last seen 45 weeks 5 days ago.
Re: Eclipse Plugin working much better!


On Fri, Mar 27, 2009 at 17:41, Miles Sabin <miles@milessabin.com> wrote:
2009/3/24 Lukas Rytz <lukas.rytz@epfl.ch>:
> OK - I'm having quite a bunch of problems with the current nightlies, one is
> http://lampsvn.epfl.ch/trac/scala/ticket/1669.
>
> Another one is that I quite often get a java.util.ConcurrentModificationException
> (Problems occurred when invoking code from plug-in: "org.eclipse.jface".) when
> selecting (not opening) files in the project explorer.
> http://lampsvn.epfl.ch/trac/scala/ticket/1763 / http://lampsvn.epfl.ch/trac/scala/ticket/1776

OK, these should all be fixed now ... #1669 by a patch from Ben
Hutchison, thanks!

Amazing, many thanks guys! I'll install the new version and see how it goes.
Lukas

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