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

ide for 2.8?

7 replies
vpatryshev
Joined: 2009-02-16,
User offline. Last seen 1 year 24 weeks ago.
Sorry, this question may sound stupid, but I'm lost now. I have scala 2.8 rc2, intellij, intellij scala plugin. They don't work together.So I wonder, is there a healthy ide choice for 2.8, or should I probably learn something useful (like emacs) and stop worrying?

--
Thanks,
-Vlad
Erik Engbrecht
Joined: 2008-12-19,
User offline. Last seen 3 years 18 weeks ago.
Re: ide for 2.8?
I've had pretty good luck with NetBeans running 2.8 RC2.  It has a few rough edges but basically works without a lot of hassle.

On Sun, May 23, 2010 at 6:58 PM, Vlad Patryshev <vpatryshev@gmail.com> wrote:
Sorry, this question may sound stupid, but I'm lost now. I have scala 2.8 rc2, intellij, intellij scala plugin. They don't work together. So I wonder, is there a healthy ide choice for 2.8, or should I probably learn something useful (like emacs) and stop worrying?

--
Thanks,
-Vlad



--
http://erikengbrecht.blogspot.com/
Randall R Schulz
Joined: 2008-12-16,
User offline. Last seen 1 year 29 weeks ago.
Re: ide for 2.8?

On Sunday May 23 2010, Vlad Patryshev wrote:
> Sorry, this question may sound stupid, but I'm lost now. I have scala
> 2.8 rc2, intellij, intellij scala plugin. They don't work together.

Au contraire. They work swimmingly together.

Here's the way I recommend working:

1) Configure a global library (per-project library is fine, too) for the
version of Scala you want to use. Any one is acceptable. Include the
scala-library.jar and scala-compiler.jar at a minimum.

2) In every module that contains Scala content, configure its Scala
facet thusly:

[x] Use Scala compiler library from specified jars
Scala compiler library:
Scala SDK library:

> So I wonder, is there a healthy ide choice for 2.8, or should I
> probably learn something useful (like emacs) and stop worrying?

I still believe IDEA is the best for Scala programmers.

Randall Schulz

Marcelo Fukushima
Joined: 2009-01-09,
User offline. Last seen 42 years 45 weeks ago.
Re: ide for 2.8?

I've been using eclipse and the nightly build and it's working fine as long as you disable automatic auto completion. Otherwise it's a little non responsive.

On May 23, 2010 7:59 PM, "Vlad Patryshev" <vpatryshev@gmail.com> wrote:
> Sorry, this question may sound stupid, but I'm lost now. I have scala 2.8
> rc2, intellij, intellij scala plugin. They don't work together.
> So I wonder, is there a healthy ide choice for 2.8, or should I probably
> learn something useful (like emacs) and stop worrying?
>
> --
> Thanks,
> -Vlad

Randall R Schulz
Joined: 2008-12-16,
User offline. Last seen 1 year 29 weeks ago.
Re: ide for 2.8?

On Sunday May 23 2010, Randall R Schulz wrote:
> On Sunday May 23 2010, Vlad Patryshev wrote:
> > Sorry, this question may sound stupid, but I'm lost now. I have
> > scala 2.8 rc2, intellij, intellij scala plugin. They don't work
> > together.
>
> Au contraire. They work swimmingly together.
>
> Here's the way I recommend working:

Missing part added below:

> 1) Configure a global library (per-project library is fine, too) for
> the version of Scala you want to use. Any one is acceptable. Include
> the scala-library.jar and scala-compiler.jar at a minimum.

1) [more] It's advisable to attach source JARs and a documentation
directory (if you have the locally) or a URL for this library, too.

1a) Make this library a dependency of every module that uses Scala

> 2) In every module that contains Scala content, configure its Scala
> facet thusly:
>
> [x] Use Scala compiler library from specified jars
> Scala compiler library:
> Scala SDK library:

Randall Schulz

Okpala Ikenna N.
Joined: 2010-05-24,
User offline. Last seen 42 years 45 weeks ago.
Re: ide for 2.8?
Hi Vlad,
The scala emacs plugin would be a cool choice. Also there is the ensime plugin by aemon which to me is a brilliant effort. 
So far it is very fast and works well with my scala 2.8rc sdk. Watch this video for more on ensime. http://www.youtube.com/watch?v=A2Lai8IjLoY and http://www.youtube.com/watch?v=58UdkcVRM6w  
You can download it from it's Github repo is  http://github.com/aemoncannon/ensime.


Okpala Ikenna N. Jr.




On Sun, May 23, 2010 at 11:58 PM, Vlad Patryshev <vpatryshev@gmail.com> wrote:
Sorry, this question may sound stupid, but I'm lost now. I have scala 2.8 rc2, intellij, intellij scala plugin. They don't work together.So I wonder, is there a healthy ide choice for 2.8, or should I probably learn something useful (like emacs) and stop worrying?

--
Thanks,
-Vlad

David Flemström
Joined: 2009-08-10,
User offline. Last seen 42 years 45 weeks ago.
Re: ide for 2.8?
Any clue about why the plugin cannot do this automatically? E.g. fetch a list of available Scala versions from scala-tools and list them all when you create your project. Also, how good is the Maven support (with various versions of Scala)? I really want to switch to Idea but some guys I work with would probably prefer to either switch to Idea painlessly (which means that there shouldn't be too much/anything to set up) or to just stay with their preferred IDEs (aka Maven).

On Mon, May 24, 2010 at 2:23 AM, Randall R Schulz <rschulz@sonic.net> wrote:
On Sunday May 23 2010, Vlad Patryshev wrote:
> Sorry, this question may sound stupid, but I'm lost now. I have scala
> 2.8 rc2, intellij, intellij scala plugin. They don't work together.

Au contraire. They work swimmingly together.

Here's the way I recommend working:

1) Configure a global library (per-project library is fine, too) for the
version of Scala you want to use. Any one is acceptable. Include the
scala-library.jar and scala-compiler.jar at a minimum.

2) In every module that contains Scala content, configure its Scala
facet thusly:

   [x] Use Scala compiler library from specified jars
         Scala compiler library: <full path to scala-compiler.jar>
         Scala SDK library: <full path to scala-library.jar>


> So I wonder, is there a healthy ide choice for 2.8, or should I
> probably learn something useful (like emacs) and stop worrying?

I still believe IDEA is the best for Scala programmers.


Randall Schulz

Randall R Schulz
Joined: 2008-12-16,
User offline. Last seen 1 year 29 weeks ago.
Re: ide for 2.8?

On Monday May 24 2010, David Flemström wrote:
> Any clue about why the plugin cannot do this automatically? ...

A few things:

1) Of course they could do what you suggest. It's SMOP. Priorities in a
setting of limited resources determine what is done when (naturally).

2) I'm happy with JetBrains working on the essential capabilities that
relate to the language's semantics before they work on this sort of
usability / convenience feature.

3) There's a JetBrains forum [1] specifically for the Scala plug-in [2].
That's the place to suggest features, give feedback, get help and make
preliminary bug reports (actual tracked bug reports and feature
requests are made with JetBrains' YouTrack system [3], [4]).

[1] 
[2] 
[3] 
[4] 

Randall Schulz

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