I tried this to solve this:
http://www.nabble.com/-scala-tools--Eclipse-sees-scala-source-as-java-tp23630548p24420956.html but no luck
i click enable jdt weaving, eclipse restarts, log message says jdt successfully enabled, but button in pref still says click to enable and that it's not enabled. And the same problem exists that all the scala code is being read as java :/
Naftoli Gugenhem wrote:
Is JDT weaving enabled in Preferences? See the other thread with the same question started 10 minutes after yours ;).
-------------------------------------
hornbn<hornbn@pjm.com> wrote:
I have followed the directions for the Scala plug-in for Eclipse to the
letter. I can get the run configuration to run a sample Scala program
that I have precompiled using scalac. But I am having the following
issues and can't find any documentation to help:
* The Scala perspective does not seem to recognize Scala code,
it reports Scala syntax as Java errors.
* The Scala Builder does not build.
Thanks,
Neil
________________________________
Neil Hornbeck
PJM Interconnection
IT Integration
Market Applications
610.666.2223
hornbn@pjm.com