[scala-tools] Formatting Eclipse plug-in nightly

View: New views
2 Messages — Rating Filter:   Alert me  

[scala-tools] Formatting Eclipse plug-in nightly

by Mohamed Bana-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: [scala-tools] Formatting Eclipse plug-in nightly

by Miles Sabin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Sep 18, 2009 at 3:56 PM, Mohamed Bana
<mbana.lists@...> 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

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin