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

Eclipse plugin Scala editor stops highlighting

7 replies
Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.

Hello all,

During editing (current nightly build) it often happens that when I open an
additional Scala source I get a ConcurrentModificationException. The file
does not open but a second attempt usually suceeds.
After that the syntax highlighting stops working for some or all open
sources in the editor. Closing all sources seems to solve the problem.

I can not reproduce this without actually editing stuff. Simply opening a
lot of sources seems to work ok. I have the impression it is somehow related
to some edit state in the currently open source.

Best regards,

Silvio

On a side note: the current nightly build has improved a lot in comparison
to a couple of builds ago. Excellent work.

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Eclipse plugin Scala editor stops highlighting

... succeeds ...

staar2
Joined: 2009-02-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Eclipse plugin Scala editor stops highlighting

Actually I got similar problems, sometimes it keeps showing me errors even if
I fix, it doesn't disappear. Also auto completion doesn't work.

Silvio Bierman wrote:
>
> ... succeeds ...
>

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: Re: Eclipse plugin Scala editor stops highlighting
I've noticed the highlighting problem, but not the auto-complete (although usually the two go hand-in-hand).  I'm pretty sure Miles is working on fixing these.

On Mon, Mar 9, 2009 at 1:05 PM, staar2 <est.risto@gmail.com> wrote:

Actually I got similar problems, sometimes it keeps showing me errors even if
I fix, it doesn't disappear. Also auto completion doesn't work.

Silvio Bierman wrote:
>
> ... succeeds ...
>

--
View this message in context: http://www.nabble.com/Eclipse-plugin-Scala-editor-stops-highlighting-tp22413420p22413700.html
Sent from the Scala - Tools mailing list archive at Nabble.com.


milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Re: Eclipse plugin Scala editor stops highlighting

On Mon, Mar 9, 2009 at 5:17 PM, Josh Suereth wrote:
> I've noticed the highlighting problem, but not the auto-complete (although
> usually the two go hand-in-hand).  I'm pretty sure Miles is working on
> fixing these.

Yup, I've just fixed this one,

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

and I'm looking into these two,

http://lampsvn.epfl.ch/trac/scala/ticket/1763
http://lampsvn.epfl.ch/trac/scala/ticket/1777

BTW, it'd be useful if before you report problems on this list you
check if there's already a ticket open for it and if there is, update
it with the specifics of your case.

Cheers,

Miles

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Eclipse plugin Scala editor stops highlighting

Well, I left that out but actually those two (error state updating and
code-completion) indeed seem to fail together with syntax highlighting.
Probably a common cause but thaqt is just an uneducated guess...

Silvio

staar2 wrote:
>
> Actually I got similar problems, sometimes it keeps showing me errors even
> if I fix, it doesn't disappear. Also auto completion doesn't work.
>
> Silvio Bierman wrote:
>>
>> ... succeeds ...
>>
>
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Re: Eclipse plugin Scala editor stops highlighting

On Mon, Mar 9, 2009 at 5:05 PM, staar2 wrote:
> Actually I got similar problems, sometimes it keeps showing me errors even if
> I fix, it doesn't disappear.

Should be fixed in tomorrow's nightly build ...

Cheers,

Miles

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Re: Eclipse plugin Scala editor stops highlighting

Hello Miles,

Good point, sorry for the trigger happy posting. I will do that from now on.

Silvio

Miles Sabin wrote:
>
> On Mon, Mar 9, 2009 at 5:17 PM, Josh Suereth
> wrote:
>> I've noticed the highlighting problem, but not the auto-complete
>> (although
>> usually the two go hand-in-hand).  I'm pretty sure Miles is working on
>> fixing these.
>
> Yup, I've just fixed this one,
>
> http://lampsvn.epfl.ch/trac/scala/ticket/1772
>
> and I'm looking into these two,
>
> http://lampsvn.epfl.ch/trac/scala/ticket/1763
> http://lampsvn.epfl.ch/trac/scala/ticket/1777
>
> BTW, it'd be useful if before you report problems on this list you
> check if there's already a ticket open for it and if there is, update
> it with the specifics of your case.
>
> Cheers,
>
>
> Miles
>

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