The new Scala IDE contains a completely revamped compiler interface
that promises to deliver better responsiveness, reliability, no
lock-ups and excellent semantic actions. Actions such as hyperlinking,
completion and real-time type checking are working reliably on large
projects. This release is a firm foundation on which the IDE can grow
to support all the features of a modern IDE.
Requirements:
- Eclipse 3.6.x (Helios)
Download:
- http://download.scala-ide.org/
The current release is an effort to provide a much more reliable and
stable plugin. Existing features in the 1.x series have been reviewed
and ported to the new compiler interface. However, you may notice that
some of them did not make it into this release (most notably,
highlighting implicit applications). We chose to be
conservative and include only features that can work reliably at this
point. To ease the choice between the IDE versions, there's a feature
matrix at
http://www.assembla.com/wiki/show/scala-ide/Features.
A note on versioning: the current release is a large departure from
the initial code base, and in order to minimize confusion, we called
this version 2.0.0 beta1. The initial code base, using the 2.8.x Scala
compiler carries the 1.0.0.qualifier version.
The compiler interface has been written by Scala's author and Scala
Solutions founder, Martin Odersky, who together with the IDE team at
Scala Solutions (Eugene Vigdorchik, Donna Malayeri, Hubert Polciniczak
and Iulian Dragos) and members of the Scala IDE community (Matt
Russel, Mirko Stocker, David Bernard, Miles Sabin) has been working
for the past four months to deliever a better IDE.
Can you please check the version string? Is it
2.0.0.201103281820-beta1-316ca33?
There was a synchronization problem and the Tweet went out a bit too
early, while an older version was still at the update site. If this is
the version you're seeing, then please file a bug report.
sorry for the inconvenience,
iulian
--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais
On Tue, Mar 29, 2011 at 3:16 PM, Trond Olsen <tr...@steinbit.org> wrote:
> A small note to those trying out this plugin. Completion seemed to be broken
> if I used this plugin with my old workspace. Recreating the whole workspace
> and projects resolved this problem. Probably some old metadata from the
> previous Scala plugin that's caused some problems.
You need to make sure that, on the 'Java/Editor/Content
Assist/Advanced' page, you have 'Java Proposals' checked.
iulian
>
> My setup is Eclipse 3.6.2 with Aptana 2.0.5 plugin on Windows 7 (32-bit).
--
* I also had the same problem with completions. They came back
eventually - I'm not sure if I did anything or not.
* I encountered freezes, but resolved them with some combination of:
(not sure which part actually helped)
New Eclipse install
New Scala IDE install
New workspace
* A (somewhat obscure) syntax error resulted in files with the error
being non-editable (can't open them or even right-click for a context
menu) until the errors are corrected in another editor and Eclipse is
restarted. Refreshing the file or project doesn't work. I'll make a
bug about this.
It is really nice to hear this! Thanks!
cheers,
iulian
It's almost always a setting under Java/Editor/Content Assist/Advanced
(check Java Proposals). I don't know exactly why, but sometimes it
gets un-checked. The Setup Diagnostic window should take care of that,
if you use the 'recommended' settings.
> * I encountered freezes, but resolved them with some combination of:
> (not sure which part actually helped)
> New Eclipse install
> New Scala IDE install
> New workspace
Please, if you ever get a freeze again, submit a bug report with a
stack trace. Once the IDE is frozen, an easy way to get the stack
trace is on the command line:
$ jps -v
(to get the PID of the JVM running Eclipse)
$ jstack <pid>
You can also get a stack dump using VisualVM (don't know the exact
steps to do it).
As a side note, a nightly from last week is known to have a deadlock
regression, so make sure you have the right versio. Additionally,
there's this ticket:
Unfortunately, this occurs in JDT weaving code, so we cannot really
fix it, but the JVM options listed as a 'workaround' seem to help.
> * A (somewhat obscure) syntax error resulted in files with the error
> being non-editable (can't open them or even right-click for a context
> menu) until the errors are corrected in another editor and Eclipse is
> restarted. Refreshing the file or project doesn't work. I'll make a
> bug about this.
Thanks, I saw the bug report. We'll look into it.
iulian
http://www.assembla.com/wiki/show/scala-ide/Known_Issues
If you encounter other issues (but not bugs) that have a workaround,
please let me know (or better yet, edit the above page) so others can
benefit.
thanks,
iulian
The future looks happy: code completion, navigation, refactoring
features will further boost Scala productivity. The planned merge
would be great: Implicit Highlighting + Reliability ==> Very nice.
-Ben
This is supposed to help people get reasonable settings... Sorry if it
is confusing. There are several (more or less hidden) options in
Eclipse that affect the behavior of the Scala plugin. First and
foremost, JDT weaving has to be enabled for anything to work. Second,
you need more heap than the default (500MB). There is also the JDT
content assist proposal setting (sometimes Java Proposals is
unchecked, see https://www.assembla.com/wiki/show/scala-ide/Known_Issues)
and the delay for automatic content assist (default is too short, and
it may be annoying to have to wait for completions after pressing a
'.').
iulian
--
2. For 2 of my projects so far, I get the dreaded "no junit 4 tests
found" when I try to run my unit tests. If however, I open some the
unit tests files, then it will run them. This used to be a big
problem with the 2.7.7 IDE, and I've had no problems like this on 2.8
and 2.8.1 IDEs.
What is the best/recommended way to use the Scala IDE 2.8.1 with a
multi-project maven pom file?
Thanks for the heads up ... fixed now ...
Cheers,
Miles
--
Miles Sabin
tel: +44 7813 944 528
gtalk: mi...@milessabin.com
skype: milessabin
http://www.chuusai.com/
http://twitter.com/milessabin