10.5 on OS X 10.6

Has anyone gotten the Getting Starting guide to work in IntelliJ 10.5 on Mac OS X 10.6 or is it just me?

I'm using IntelliJ 10.5 on OS X (10.6) with Scala (and SBT) plugin.

I can compile and run fine using sbt or scala console from command line.  No issues.

But, I'd like get code completion going in IntelliJ.  

So, I'm trying to follow example here:

In "Creating Source Code" section, step 3 is where I should see it, but no.

Also, I have a feeling this is related-
In step 2 of this same section, if I try to create a new Scala Object (or Scala Class), and click Ok, nothing happens.  But if I hit cancel, I see the .scala file has been created.

Any ideas?


Comment actions Permalink

I've never had any trouble with any version of IDEA on Snow Leopard
(MacOS 10.6).

On 9/9/11 3:04 AM, Todd McGrath wrote:

Has anyone gotten the Getting Starting guide to work in IntelliJ 10.5 on Mac OS X 10.6 or is it just me?

Comment actions Permalink

Same here with Java and Groovy.  But, I'm new to using IntelliJ with Scala.

Comment actions Permalink

Hi Todd:

It may be worth trying https://github.com/Verafin/ProgInScala which is a project I created to go through Programming in Scala 2nd Edition.

It uses SBT 0.10+ for building.

To set up SBT go to https://github.com/harrah/xsbt/wiki/Setup and follow everything up to the Run section so you have the sbt command available at your prompt.

Then follow the steps at https://github.com/AlainODea/sbt_user to get the SBT IDEA plugin working so you can generate a project.

From there you can go to the ProgInScala directory and run sbt.  Within SBT run gen-idea to get IDEA project metadata.  You can now open the project in IDEA and get all features :)


Comment actions Permalink

Well, a bit embarrassed to admit, but somehow, *.scala File Types were associated to Text files.  Switching to *.scala to Scala did the trick.  

Not sure, how that happened, but posting here for posterity sake.

Thanks everyone


Please sign in to leave a comment.