Hi,
On Mon, Nov 12, 2012 at 10:09 PM, Aaron_E <ferbe
...@gmail.com> wrote:
> Hi All,
> I am creating a small DSL IDE that incorporates handlers written in
> scala. Is it possible to invoke the Scala IDE on said handlers inorder to
> show syntax errors, and code highlighting? If so how would I go about
> doing it?
It is possible, and it's being done now by at least two other plugins [1,
2]. You will have to write your own editor, though, and provide a mapping
between your DSL and a valid Scala program that can be compiled by the
Scala compiler. The code can still be cleaned a little, and a better API
will emerge eventually.
[1] https://github.com/scala-ide/scala-worksheet
[2] https://github.com/scala-ide/scala-ide-play2
cheers,
iulian
--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais