title: How can I fix WebStorm warning "Unresolved function or method" for "require" (Firefox Add-on SDK)
body: <p>I'm using <a href="https://www.jetbrains.com/webstorm/">WebStorm</a> 7 for <a href="https://developer.mozilla.org/en-US/Add-ons/SDK">Firefox Add-on SDK</a> development.</p>
  
  <p>WebStorm shows a warning: "Unresolved function or method" for <code>require()</code>.</p>
  
  <p>I want to get rid of the warning.</p>
  
  <pre><code>var pageMod = require("sdk/page-mod");
  </code></pre>
  
  <p>NOTE:I already configured JavaScript-library (refer /lib/sdk globals).</p>
  
  <p><strong>Environment:</strong></p>
  
  <ul>
  <li>WebStorm 7.0.2</li>
  <li>Windows 7 64bit</li>
  <li>Firefox Add-on SDK 1.15beta1</li>
  </ul>