title: Intellij IDEA Groovy "No candidates found for method call"
body: <p>I followed all the instructions in the top answer <a href="https://stackoverflow.com/questions/46123890/configuring-groovy-sdk-within-intellij-idea">here</a></p>
  <p>But when I associate a file as &quot;Groovy&quot; I see the &quot;no candidates found for method call&quot; on all the groovy commands like &quot;pipeline&quot;, &quot;environment&quot;, etc in my groovy scripts.</p>
  <p>I tried downloading the groovy SDK from apache as well as brew, but both result in the same issue.</p>