title: Intelllij IDEA Ultimate 2018.1 groovy code completion does not work
body: <p>I can create a Groovy project and even run it.  But when I type main or print there are no auto-complete / code completion suggestions at all.  I have groovy-2.4.1 in the external library folder along with Java 1.8.  I find Intellij frustrating and non-intuitive to use.</p>
  
  <p>In a groovy script main does show correct code completion but when I click enter it puts "main()" without the String[] args that I can see in the suggestion.</p>
  
  <p><a href="https://i.stack.imgur.com/HmHzu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HmHzu.png" alt="enter image description here"></a></p>