Console DOM for Eclipse Monkey script
March 21, 2006
I wrote a simple DOM to write message to Eclipse console from a Monkey Script.
I have not yet created an update site for it so you have do download it and install it in your plugins directory manually.
It provides a out
variable that you can use to write to a console.
Here is the mandatory "Hello, World" example:
--- Came wiffling through the eclipsey wood ---
/*
* Menu: Console > Hello
* Kudos: Jeff Mesnil
* License: EPL 1.0
* DOM: http://jmesnil.net/eclipse/updates/net.jmesnil.doms
*/
function main() {
out.print("Hello, ").println("World");
}
--- And burbled as it ran! ---
and its output