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

Recommended setup on OSX?

14 replies
Sophie
Joined: 2011-11-10,
User offline. Last seen 42 years 45 weeks ago.

What is a good setup to get started with Scala on OSX (10.6.8)?
Eclipse? Emacs? Textmate?

I am current a (light) user of Textmate, not done much with any of the
other editors / IDEs, familiar with OO, and somewhat with functional
programming. Will be working on Ajax-y web apps.

Thanks for any pointers!

loverdos
Joined: 2008-11-18,
User offline. Last seen 2 years 27 weeks ago.
Re: Recommended setup on OSX?

Hi,

I can speak of what I mainly use and that is IntelliJ and Eclipse. They are at a descent level now (compared to the awesomeness of Java IDEs) and becoming better and better every day. I use them (mostly IntelliJ) almost exclusively for my Scala projects. Both Eclipse and IntelliJ have a ton of plugins for other stuff, so worth exploring the possibilities.

Best
: @loverdos ;

On Nov 9, 2011, at 9:18 PM, Sophie wrote:

> What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?
>
> I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.
>
> Thanks for any pointers!
>
>

loverdos
Joined: 2008-11-18,
User offline. Last seen 2 years 27 weeks ago.
Re: Recommended setup on OSX?
Certainly not "descent" but "decent" !
Sorry :)

On Nov 10, 2011, at 8:55 AM, Christos KK Loverdos wrote:
Hi,

I can speak of what I mainly use and that is IntelliJ and Eclipse. They are at a descent level now (compared to the awesomeness of Java IDEs) and becoming better and better every day. I use them (mostly IntelliJ) almost exclusively for my Scala projects. Both Eclipse and IntelliJ have a ton of plugins for other stuff, so worth exploring the possibilities.

Best
: @loverdos ;

On Nov 9, 2011, at 9:18 PM, Sophie wrote:

What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?

I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.

Thanks for any pointers!



--
  __~O
 -\ <,       Christos KK Loverdos
(*)/ (*)      http://stepsinscala.com





-- 
   __~O
  -\ <,       Christos KK Loverdos
(*)/ (*)      http://stepsinscala.com




whiter4bbit
Joined: 2009-07-07,
User offline. Last seen 1 year 39 weeks ago.
Re: Recommended setup on OSX?
Hi.
In fact, I started to use scala with emacs (on linux). And now I can write code without any IDE (unlike in java:) ), it's just a habbit. Scala is a language, that can be used without any IDE, syntax is not strong, without java's boilerplate.  You can look at emacs ensime plugin, it's like 'little IDE' for scala with autocompletion and basic navigation.
2011/11/10 Christos KK Loverdos <loverdos@gmail.com>
Certainly not "descent" but "decent" !
Sorry :)

On Nov 10, 2011, at 8:55 AM, Christos KK Loverdos wrote:
Hi,

I can speak of what I mainly use and that is IntelliJ and Eclipse. They are at a descent level now (compared to the awesomeness of Java IDEs) and becoming better and better every day. I use them (mostly IntelliJ) almost exclusively for my Scala projects. Both Eclipse and IntelliJ have a ton of plugins for other stuff, so worth exploring the possibilities.

Best
: @loverdos ;

On Nov 9, 2011, at 9:18 PM, Sophie wrote:

What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?

I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.

Thanks for any pointers!



--
  __~O
 -\ <,       Christos KK Loverdos
(*)/ (*)      http://stepsinscala.com





-- 
   __~O
  -\ <,       Christos KK Loverdos
(*)/ (*)      http://stepsinscala.com





Raymond Barlow
Joined: 2011-09-01,
User offline. Last seen 42 years 45 weeks ago.
Re: Recommended setup on OSX?

I use IntelliJ. If you do, I recommend getting the FSC (fast scala compiler) working in the IDE. The latest plugin makes it easy to do so.

/Raymond

On 9 Nov 2011, at 19:18, Sophie wrote:

> What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?
>
> I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.
>
> Thanks for any pointers!
>
>

ARKBAN
Joined: 2011-08-11,
User offline. Last seen 42 years 45 weeks ago.
Re: Recommended setup on OSX?

I'll second (third?) the IntelliJ recommendations. I just helped about
15 developers at my company to organize around IntelliJ -- we even had
an emacs to IntelliJ convert! (He switched mostly due to refactoring and
code browsing support, very useful when learning Scala). Everyone is
enjoying their Scala experience at little more.

ARKBAN

On 11/10/11 4:47 AM, Raymond Barlow wrote:
> I use IntelliJ. If you do, I recommend getting the FSC (fast scala compiler) working in the IDE. The latest plugin makes it easy to do so.
>
> /Raymond
>
> On 9 Nov 2011, at 19:18, Sophie wrote:
>
>> What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?
>>
>> I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.
>>
>> Thanks for any pointers!
>>
>>

d_m
Joined: 2010-11-11,
User offline. Last seen 35 weeks 2 days ago.
Re: Recommended setup on OSX?

On Thu, Nov 10, 2011 at 10:41:05AM +0200, Pavel Zalunin wrote:
> In fact, I started to use scala with emacs (on linux). And now I can write
> code without any IDE (unlike in java:) ), it's just a habbit. Scala is a
> language, that can be used without any IDE, syntax is not strong, without
> java's boilerplate.
> You can look at emacs ensime plugin, it's like 'little IDE' for scala with
> autocompletion and basic navigation.

I often use ENSIME with Emacs when writing Scala, but I agree that I
mostly don't need an IDE to get productive work done.

My sense is if you're used to an IDE, then Eclipse, IDEA or ENSIME are
good choices. If not, then any editor you're comfortable with is
probably fine.

Dinesh V
Joined: 2010-11-17,
User offline. Last seen 42 years 45 weeks ago.
Re: Recommended setup on OSX?

Raymond
Can you please explain further. By getting FSC working you mean install Scala plugin for Idea? Or are you talking about something else

Sent from my iPhone

On Nov 10, 2011, at 4:47 AM, Raymond Barlow wrote:

> I use IntelliJ. If you do, I recommend getting the FSC (fast scala compiler) working in the IDE. The latest plugin makes it easy to do so.
>
> /Raymond
>
> On 9 Nov 2011, at 19:18, Sophie wrote:
>
>> What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?
>>
>> I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.
>>
>> Thanks for any pointers!
>>
>>

Sophie
Joined: 2011-11-10,
User offline. Last seen 42 years 45 weeks ago.
Re: Recommended setup on OSX?

Thanks!

So IntelliJ it is, installed the Free Edition to start with ... but
when I create a new (Java module) project I am asked to Please select
JSDK, and there are no options displayed, and (on OSX) the
Configuration dialog cannot even see /usr/bin/javac (/usr is a hidden
directory in OSX).

Any idea what I should do?

Thanks!

On 2011-11-10 07:26:29 -0600, ARKBAN said:

> I'll second (third?) the IntelliJ recommendations. I just helped about
> 15 developers at my company to organize around IntelliJ -- we even had
> an emacs to IntelliJ convert! (He switched mostly due to refactoring
> and code browsing support, very useful when learning Scala). Everyone
> is enjoying their Scala experience at little more.
>
> ARKBAN
>
> On 11/10/11 4:47 AM, Raymond Barlow wrote:
>> I use IntelliJ. If you do, I recommend getting the FSC (fast scala
>> compiler) working in the IDE. The latest plugin makes it easy to do so.
>>
>> /Raymond
>>
>> On 9 Nov 2011, at 19:18, Sophie wrote:
>>
>>> What is a good setup to get started with Scala on OSX (10.6.8)?
>>> Eclipse? Emacs? Textmate?
>>>
>>> I am current a (light) user of Textmate, not done much with any of the
>>> other editors / IDEs, familiar with OO, and somewhat with functional
>>> programming. Will be working on Ajax-y web apps.
>>>
>>> Thanks for any pointers!

eed3si9n
Joined: 2010-01-24,
User offline. Last seen 42 weeks 6 days ago.
Re: Re: Recommended setup on OSX?

If you haven't, you should put in scala plugin. All my projects use
sbt, so I just let sbt-idea generate the project for me.

For big projects that requires code navigation, and for reading
completely unknown code, I use IntelliJ, but I continue to use
TextMate for most other quick hacks.

I ported the TextMate [color themes][1] so similar themes can be used
between the editors. IMHO IntelliJ is still ahead of other IDE/editors
in terms of being able to color pattern variables, detecting monkey
patched methods and having link available, finding usage of a
particular method etc without messing with my code.

The only issue is that some of their builds has been unstable (at
least for me). In particular 10.5.2, the current stable, was very bad.
I switched to [11 EAP][2] and it's all good again.

-eugene

[1]: https://github.com/eed3si9n/color-themes
[2]: http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP

On Thu, Nov 10, 2011 at 2:11 PM, Sophie wrote:
> Thanks!
>
> So IntelliJ it is, installed the Free Edition to start with ... but when I
> create a new (Java module) project I am asked to Please select JSDK, and
> there are no options displayed, and (on OSX) the Configuration dialog cannot
> even see /usr/bin/javac (/usr is a hidden directory in OSX).
>
> Any idea what I should do?
>
> Thanks!
>
>
> On 2011-11-10 07:26:29 -0600, ARKBAN said:
>
>> I'll second (third?) the IntelliJ recommendations. I just helped about 15
>> developers at my company to organize around IntelliJ -- we even had an emacs
>> to IntelliJ convert! (He switched mostly due to refactoring and code
>> browsing support, very useful when learning Scala). Everyone is enjoying
>> their Scala experience at little more.
>>
>> ARKBAN
>>
>> On 11/10/11 4:47 AM, Raymond Barlow wrote:
>>>
>>> I use IntelliJ. If you do, I recommend getting the FSC (fast scala
>>> compiler) working in the IDE. The latest plugin makes it easy to do so.
>>>
>>> /Raymond
>>>
>>> On 9 Nov 2011, at 19:18, Sophie  wrote:
>>>
>>>> What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse?
>>>> Emacs? Textmate?
>>>>
>>>> I am current a (light) user of Textmate, not done much with any of the
>>>> other editors / IDEs, familiar with OO, and somewhat with functional
>>>> programming. Will be working on Ajax-y web apps.
>>>>
>>>> Thanks for any pointers!
>
>
>
>

channingwalton
Joined: 2008-09-27,
User offline. Last seen 2 weeks 1 day ago.
Re: Recommended setup on OSX?
if you grab the latest early access version of intellij (http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP) you can use the bleeding edge plugin. FSC works out of the box now, just set the option in the scala compiler options.
Give Intellij and Eclipse more memory (1Gb) than their defaults though, scala needs it.
Donald McLean
Joined: 2009-11-11,
User offline. Last seen 2 years 48 weeks ago.
Re: Re: Recommended setup on OSX?

The path you want is probably:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

(at least, that's what I have in the setup on my Mac)

On Thu, Nov 10, 2011 at 2:11 PM, Sophie wrote:
> Thanks!
>
> So IntelliJ it is, installed the Free Edition to start with ... but when I
> create a new (Java module) project I am asked to Please select JSDK, and
> there are no options displayed, and (on OSX) the Configuration dialog cannot
> even see /usr/bin/javac (/usr is a hidden directory in OSX).
>
> Any idea what I should do?

Raymond Barlow
Joined: 2011-09-01,
User offline. Last seen 42 years 45 weeks ago.
Re: Recommended setup on OSX?

1) install scala plugin
2) go to the scala facet for your module, and select FSC.

The rest should be fairly obvious. If not, please ask as ask I'm typing this from memory, on my iPhone, lying in bed, about to sleep :)

/Raymond

On 10 Nov 2011, at 15:03, Dinesh V wrote:

> Raymond
> Can you please explain further. By getting FSC working you mean install Scala plugin for Idea? Or are you talking about something else
>
> Sent from my iPhone
>
> On Nov 10, 2011, at 4:47 AM, Raymond Barlow wrote:
>
>> I use IntelliJ. If you do, I recommend getting the FSC (fast scala compiler) working in the IDE. The latest plugin makes it easy to do so.
>>
>> /Raymond
>>
>> On 9 Nov 2011, at 19:18, Sophie wrote:
>>
>>> What is a good setup to get started with Scala on OSX (10.6.8)? Eclipse? Emacs? Textmate?
>>>
>>> I am current a (light) user of Textmate, not done much with any of the other editors / IDEs, familiar with OO, and somewhat with functional programming. Will be working on Ajax-y web apps.
>>>
>>> Thanks for any pointers!
>>>
>>>

Sophie
Joined: 2011-11-10,
User offline. Last seen 42 years 45 weeks ago.
Re: Recommended setup on OSX?

On 2011-11-10 14:21:22 -0600, Channing said:

>
> if you grab the latest early access version of intellij
> (http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP) you can use
> the bleeding edge plugin.

Where do I find the "bleeding edge" plugin?

Donald McLean
Joined: 2009-11-11,
User offline. Last seen 2 years 48 weeks ago.
Re: Re: Recommended setup on OSX?

http://confluence.jetbrains.net/display/SCA/Scala+Plugin+Nightly+Builds+...

On Thu, Nov 10, 2011 at 9:48 PM, Sophie wrote:
>
> On 2011-11-10 14:21:22 -0600, Channing said:
>
>>
>> if you grab the latest early access version of intellij
>> (http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP) you can use
>> the bleeding edge plugin.
>
> Where do I find the "bleeding edge" plugin?

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