Scala Eclipse Autocomplete Broken?

Viewed 7400

I'm trying to get autocomplete working in eclipse for scala development. I'm trying to reference a java class from a Scala class, and the autocomplete feature never finds it.

for example take this scala class:

object Main {
 def main(args: Array[String]) {
  val btn = new JButton
 }
}

When I hit ctrl+space at the end of typing JButton autocomplete finds "Arr", "asof", "case", "catch", "def" etc... but no classes.

in Window->Preferences->Java->Editor->Content Assist->Advanced I have selected under "Default Proposal Kinds":

Java Proposals, Java Type Proposals, SWT Template Proposals and Template Proposals.

I'm using the Scala 2.8.0-final plugin under Eclipse 3.5.2, in Windows 7

Has anyone else encountered this problem? Any solutions?

4 Answers
Related