Re: [scala-ide-user] Scala ide within DSL editor

34 views
Skip to first unread message

iulian dragos

unread,
Nov 15, 2012, 8:11:47 AM11/15/12
to scala-i...@googlegroups.com
Hi,

On Mon, Nov 12, 2012 at 10:09 PM, Aaron_E <ferb...@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.


cheers,
iulian

Thanks,
Aaron



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais
Reply all
Reply to author
Forward
0 new messages