I know the existence of TextAdept, although I haven't tried it yet.
For the record, it is based on Scintilla, a source code editing
component written in C++, working on all major platforms (with perhaps
some restrictions for Mac ones, although professional/paid support is
coming). Well, to say that display is thus fast and good (Scintilla is
used by lot of editors, like Geany (AFAIK) and Notepad++).
The problem is that nobody (to my knowledge) wrote a Scala lexer in
Lpeg, so it remains a work to be done...
For the record, I mentioned a couple of times (without much reactions)
that I wrote a (classical, in C++) lexer for Scala for Scintilla, which
I currently use with SciTE. The latter being another of those
lightweight editors you mention: it allows me to compile the current
file with fsc with a single keystroke. BTW, there is an annoying problem
with fsc, I will come back to it later.
My lexer is incomplete, that's why I haven't released it yet: the XML
literals with Scala code in placeholders is a bit hard to tackle. I
should rewrite it in the moderner style of Scintilla lexers (I used the
old style because I am more used to it, and I wanted a quick job to hack
Scala).
I have looked a bit at Esime, it would be great to integrate it with
SciTE, but even if some people were successful in integrating with other
editors, I find the information to do it (ie. to use Ensime as a pure
information server) a bit lacking (or I just failed at finding it).
About fsc: it has a surprising behavior, quite annoying. I won't jump
and call it bug, but if that's a feature, it is under documented and not
very useful...
When I compile a small file (so far I don't have big projects in Scala,
mostly small experiments here and there) in directory A with fsc, if I
move to directory B (eg. sharing the same parent than A) and try to
compile another small file, it tells me that this file doesn't exist,
even if I can list it. Looks like the first time it is launched, it
memorize the current path (setting it as classpath?), and refuses to
acknowledge the current path has changed. I suppose I can reset it, but
it is just plain annoying.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --