Having to use exports to get node.js code completion

I am using IDEA v12.1.3 and when I have something like var express = require('express'), I don't get proper code completion. If I envoke it after express. I get only 'exports' listed. If I use exports. then the exported stuff shows up. So if I have express.exports. then createServer will appear.

How do I track down if this is a bug or a configuration issue? All help will be appreciated as this is driving me crazy this morning.

Please sign in to leave a comment.