On 1/17/17 8:28 AM, Andrew Gaydenko wrote:
> I would not define ENSIME as lightweight as far as it runs own server
> eager for RAM. So, ENSIME + dedicated SBT session for each open
> project can be heavy to suit into 4 GB.
>
> (In other ways, yes, ENSIME is the way, I do use it during two years
> or so)
If the developer in question likes text editors as they are, I don't
think they'll necessarily be interested in "smart" editor features. I
sympathize; often, this stuff makes it too hard for me to think, and I
have to turn it off anyway, so I do without most of the time.
For the OP: I've done this kind of thing on 2 GB machines just fine,
with editor + a running sbt repl, usually in ~compile to give me
feedback when I save. 2 GB is plenty for that, especially on GNU/Linux,
unless the project is very, very large and needs a big -Xmx to JVM in
order to compile. (Individual subproject size is the relevant factor,
here; splitting a big project into subprojects cuts the max scalac
memory down nicely.) With 4 GB, such concerns are moot; the main use of
more is to be able to comfortably run multiple sbt jobs at the same time.
--
Stephen Compall