title: VSCode - module.exports autocomplete in another file
body: <p>Main JS file have this code:</p>
  
  <pre><code>bot.on('message', msg =&gt; {
      var cmd = require("./commands/test.js");
      cmd.run(bot, msg);
  });
  </code></pre>
  
  <p>When i type "msg." in the event (code above) VSCode shows autocomplete suggestions like this: <a href="https://i.stack.imgur.com/8zk18.png" rel="nofollow noreferrer">Autocomplete in main js file (Image)</a></p>
  
  <pre><code>exports.run = function run(bot, msg) {
  
  }
  </code></pre>
  
  <p>When i type "msg." in another file (code above) that is using module.exports the autocomplete suggestions doesn't show up: <a href="https://i.stack.imgur.com/XAzRg.png" rel="nofollow noreferrer">Autocomplete in another file (Image)</a></p>
  
  <p>Is there any way to solve this problem?</p>
  
  <p>I'm using VSCode Version: 1.32.1</p>