title: Truffle test suite code hinting issues, how to solve?
body: <p>For truffle, a generated test for a contract looks like this:</p>
  
  <pre><code>
  var PaymentRequest = artifacts.require("PaymentRequest");
  
  contract("PaymentRequest", accounts =&gt; {
    it("should assert true", done =&gt; {
      var paymentRequest = PaymentRequest.deployed();
      assert.isTrue(true);
      done();
    });
  });
  
  </code></pre>
  
  <p>The problem I have is that IntelliJ is not able to understand <code>artifact</code>, <code>contract</code>, <code>it</code>, <code>.deployed()</code> and <code>.isTrue(true)</code>. Since this is my first time working on a Etherium project this is quite annoying experience, since my editor is screaming at me that I'm doing it wrong. </p>
  
  <p>Without eslint I get hints from IntelliJ like 'unresolved variable or type artifacts'. When eslint is enabled it tells me that it is not defined. However if I run the test, it works fine.
  In other projects (such as Angular) I do not have such issues.</p>
  
  <p>How do I start to fix this mess? And why is this happening? Is this lack of code hinting something that isn't implemented by the authors of Truffle, or is my IntelliJ config messed up?</p>