Any Eclipse alternative to Scala-IDE?

Dear all,

I’m neither a Scala nor an Eclipse expert but I work with both for years, having built a significant amount of stuff on top of them. Since 2020-09, Eclipse requires Java 11+ and I discovered that the Scala-IDE I was using (and that is not maintained anymore) cannot work in this environment.

I’ve tried to install Scala Metal. It does the job for the source code authoring but I struggle in finding a way to setup a compiler. I’ve looked the web for guidelines or tutorials but I didn’t find anything really useful so far.

Looks like Eclipse is not that “trendy” anymore, is it? To some extent, I can understand it because this is really a complex and hard to master environment. However, I don’t think there is anything equivalent as of today. In any case, I have a legacy that I would like not to loose.

Any help would be warmly welcome!

Yves

1 Like

You’ll find a lot of Eclipse users are now probably using IntelliJ IDEA – the Leading Java and Kotlin IDE. For a full blown batteries included IDE and good Java / Scala interop, you can’t beat it. With that being said, Metals is also a popular option. We actually do have an Eclipse plugin, GitHub - scalameta/metals-eclipse: Eclipse Scala LSP plugin for Metals (WIP), but to be honest it’s also not actively maintained. We just don’t have the users or the contributors to keep it alive. The VS Code extension is by far the most popular way to use Metals.

I’ve tried to install Scala Metal. It does the job for the source code authoring but I struggle in finding a way to setup a compiler. I’ve looked the web for guidelines or tutorials but I didn’t find anything really useful so far.

What sort of issues did you hit on?

1 Like

Thank you for your reply.

I have no doubt that IntelliJ is a very good solution for developing with Scala. The point is that the Scala code is only one part of the whole which includes code generation for UML model and model-to-model transformations. This requires additional tools that I have to connect and to manage together as an integrated “tool chain”. This is where Eclipse has no competitor today, as far as I know.

Regarding the issues with the compiler, the point is just to integrate one - together with the build tool - in Eclipse. As I explain in my initial message I’m not an Eclipse specialist. With Scala-IDE you just had to install the plugin and everything was working. Without it, I have to do it “manually” but I don’t know how to proceed.

1 Like

I think I misread your initial question assuming you wanted an alternative to Eclipse Scala-IDE and missed that you wanted to stay in Eclipse. Apart from the Metals Eclipse plugin, there isn’t any alternatives in Eclipse for Scala.

Ok. Thank you anyway.

So, has anyone tried (and succeed!) to setup a full workable Scala development platform (i.e. with compiler and build tool) based on Eclipse 2020-09 or higher (i.e. Java 11+) ?

AFAIK IntelliJ is the de facto “standard” IDE in Scala community. There are also people who has VSCode/Vim/Emacs/any editor + Metals but that takes more patience to setup

4 Likes

People are increasingly using VS-Code or other editor with Metals. It’s a totally reasonable way to go. I haven’t used IJ in years.

5 Likes