How do I get code completion for Node.js in Eclipse?
问题 When developing a Node.js application in Eclipse , you usually import your own modules with functionality tied to exports (append functions) or module.exports (allows popular object literal notation). But how do you set this up for code completion in files where you import your module? Module As you can see in the outliner , Eclipse is "aware" of the function: Yet importing the module as tools doesn't make it's functions available: I also tried the oldskool //@import tools.js but it doesn't