tanepiper / SublimeText-Nodejs

nodejs snippets and bindings for Sublime Text 3
Do What The F*ck You Want To Public License
1.13k stars 262 forks source link

code completion across files #41

Closed spruce closed 7 years ago

spruce commented 11 years ago

Hey, I have the question whether it is possible to get all the methods put into the module.export by modules you required

Like: You are editing file a which requires fileb like var saver = require('fileb'); in fileb you defined something like module.export.save = function(item){ ... stuff; ...} and then you could say saver. and there apears the autocompletion for the save function

varp commented 7 years ago

For the autocompleting across files, you could install All Autocomplete package from the package manager. The plugin offers you a pre-generated autocompletion for Nodejs and its std library, it doesn't offer you smart completion (evaluating a code in the context of your project files) as doing some IDEs.