title: Cannot compile XTend classes in Intellij
body: <p>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.</p>
  
  <p>Writing the following code is no problem and the ide checks for syntax errors as expected:</p>
  
  <pre><code>package presentation
  
  class Greeter {
      def static void main(String[] args){
          println("Hello World!");
      }
  }
  </code></pre>
  
  <p>I downloaded and installed the custom language plugin and I can create a new Java project with XTend. However, I <strong>cannot run/compile any xtend files</strong>. </p>
  
  <p>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.</p>
  
  <p>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.</p>