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

IntelliJ Idea 9CE - Setting Scala Version to 2.8

4 replies
sanjay_dasgupta
Joined: 2009-12-08,
User offline. Last seen 1 year 10 weeks ago.
I've downloaded the IntelliJ IDE version-9 Community edition and loaded the Scala plugin (0.3.385). 
I have Scala 2.8 Beta1-RC8 installed, and would like to start using the IntelliJ IDE with Scala 2.8. But the "Scala settings" part of the "Please select the desired technologies" dialog only permits Scala versions 2.7.1 through 2.7.6. 
Can the IntelliJ 9.0 community edition IDE not be used with Scala 2.8 (Beta1-RC8) ?
Thanks for any help,
- Sanjay
Maxime Lévesque
Joined: 2009-08-18,
User offline. Last seen 42 years 45 weeks ago.
Re: IntelliJ Idea 9CE - Setting Scala Version to 2.8

2.8 is supported but the dialog you are refering to is somewhat misleading,
once you project is created, go to the "file/project structure" menu,
there you can select the scala 'facet', there you can specify which
scala-compiler.jar, and scala-library.jar to use.
Make these point to your Beta1-RC8.
You will also need to add these two jars in your project dependency list.

Cheers

On Wed, Jan 27, 2010 at 11:43 AM, Sanjay Dasgupta
wrote:
> I've downloaded the IntelliJ IDE version-9 Community edition and loaded the
> Scala plugin (0.3.385).
> I have Scala 2.8 Beta1-RC8 installed, and would like to start using the
> IntelliJ IDE with Scala 2.8. But the "Scala settings" part of the "Please
> select the desired technologies" dialog only permits Scala versions 2.7.1
> through 2.7.6.
> Can the IntelliJ 9.0 community edition IDE not be used with Scala 2.8
> (Beta1-RC8) ?
> Thanks for any help,
> - Sanjay
>

Mohamed Bana 2
Joined: 2009-10-21,
User offline. Last seen 42 years 45 weeks ago.
Re: IntelliJ Idea 9CE - Setting Scala Version to 2.8
loading a scala script (CTRL+SHIFT+F10) and setting up scala and it's libraries are what I dislike most about IDEA.  The former takes a while even on a decently spec'd machine.  Everything else is fine - stability etc.
IMHO, what they need to do when 2.8.0 has been released is provide a startup experience similar to Eclipse where I just download the plug-in and start programming with the latest and stable current Scala version.  Currently, one has to go through the process of setting up a global library or whatnot.  If one then wants to use say 2.7.7, she can setup the library her self.  I think this is reasonable.
Also, if they take this approach, the sources should also be included so when I decide to view, say, a library class (by holding CTRL+clicking on the class) it shows the entire file and not just the decompiled bytecode.
All in all, IDEA is fantastic.  I'm more than happy to file a bug request for this, if need be, but I'm sure the IDEA devs monitor the lists.
—Mohamed


2010/1/27 Sanjay Dasgupta <sanjay.dasgupta@gmail.com>
I've downloaded the IntelliJ IDE version-9 Community edition and loaded the Scala plugin (0.3.385). 
I have Scala 2.8 Beta1-RC8 installed, and would like to start using the IntelliJ IDE with Scala 2.8. But the "Scala settings" part of the "Please select the desired technologies" dialog only permits Scala versions 2.7.1 through 2.7.6. 
Can the IntelliJ 9.0 community edition IDE not be used with Scala 2.8 (Beta1-RC8) ?
Thanks for any help,
- Sanjay

Randall R Schulz
Joined: 2008-12-16,
User offline. Last seen 1 year 29 weeks ago.
Re: IntelliJ Idea 9CE - Setting Scala Version to 2.8

On Wednesday January 27 2010, Mohamed Bana wrote:
> ...
>
> IMHO, what they need to do ...

Make your suggestions to JetBrains:

> —Mohamed

Randall Schulz

Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
Re: IntelliJ Idea 9CE - Setting Scala Version to 2.8

Running a Scala Script is slow because, by default, it builds the
project first. You can change this:

Run -> Edit Configurations -> Edit Defaults -> Scala Script -> uncheck 'Make'

I agree that it should offer to download and attach sources, and
created an enhancement request:
http://youtrack.jetbrains.net/issue/SCL-1758

-jason

On Wed, Jan 27, 2010 at 6:26 PM, Mohamed Bana wrote:
> loading a scala script (CTRL+SHIFT+F10) and setting up scala and it's
> libraries are what I dislike most about IDEA.  The former takes a while even
> on a decently spec'd machine.  Everything else is fine - stability etc.
> IMHO, what they need to do when 2.8.0 has been released is provide a startup
> experience similar to Eclipse where I just download the plug-in and start
> programming with the latest and stable current Scala version.  Currently,
> one has to go through the process of setting up a global library or whatnot.
>  If one then wants to use say 2.7.7, she can setup the library her self.  I
> think this is reasonable.
> Also, if they take this approach, the sources should also be included so
> when I decide to view, say, a library class (by holding CTRL+clicking on the
> class) it shows the entire file and not just the decompiled bytecode.
> All in all, IDEA is fantastic.  I'm more than happy to file a bug request
> for this, if need be, but I'm sure the IDEA devs monitor the lists.
> —Mohamed
>
>
> 2010/1/27 Sanjay Dasgupta
>>
>> I've downloaded the IntelliJ IDE version-9 Community edition and loaded
>> the Scala plugin (0.3.385).
>> I have Scala 2.8 Beta1-RC8 installed, and would like to start using the
>> IntelliJ IDE with Scala 2.8. But the "Scala settings" part of the "Please
>> select the desired technologies" dialog only permits Scala versions 2.7.1
>> through 2.7.6.
>> Can the IntelliJ 9.0 community edition IDE not be used with Scala 2.8
>> (Beta1-RC8) ?
>> Thanks for any help,
>> - Sanjay
>
>

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