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

Formatting Eclipse plug-in nightly

1 reply
Mohamed Bana
Joined: 2008-12-20,
User offline. Last seen 3 years 19 weeks ago.

Hello all,

Does anyone have the Eclipse nightly plug-in working? I seem to be
getting the same syntax highlighting for Scala as I do with Java. I've
tried restoring the settings, but that doesn't seem to help. I also
something related in the bug tracker.

I'm using eclipse-SDK-3.5-linux-gtk with the latest nightly, JDT
weaving is enabled.

Does anyone hack at the plug-in using windows?

Mohamed

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Formatting Eclipse plug-in nightly

On Fri, Sep 18, 2009 at 3:56 PM, Mohamed Bana
wrote:
> Does anyone have the Eclipse nightly plug-in working?  I seem to be getting
> the same syntax highlighting for Scala as I do with Java.

That's a feature, not a bug.

On trunk, Scala syntax highlighting is now driven using the exact same
mechanism that the JDT uses for Java. As a consequence it's far more
robust than it used to be when driven by scalac: specifically, syntax
and semantic errors no longer completely disable syntax highlighting.

Semantic highlighting (eg. differential highlighting of vals vs. vars)
will be coming back to trunk very soon.

Cheers,

Miles

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