I am trying to make a basic program using XTend for Intellij 15.0.5 (Ultimate) but for some reason I cannot run/compile any ".xtend" files.
Writing the following code is no problem and the ide checks for syntax errors as expected:
package presentation
class Greeter {
def static void main(String[] args){
println("Hello World!");
}
}
I downloaded and installed the custom language plugin and I can create a new Java project with XTend. However, I cannot run/compile any xtend files.
When performing a right click on the xtend file there is no "run". More interestingly, Intellij allows me to refactor normal java classes into xtend classes. Also, I cannot choose Greeter as Main class in the Run Configuration.
Of course, I also added the mandatory libraries (core, lib and macro). I really don't know what I am missing but I suppose it must be something very obvious. Apart from running/compiling everything seems to work like a charm.