Project: aptanastudio
Issue APSTUD-4357: Support usage of CommonJS Modules "require" method in JavaScript code completion
Given the following: {code:title=MyModule.js} exports.sayHello = function(name) { Ti.API.info('Hello '+name+'!'); }; exports.version = 1.4; {code} {code} var myModule = require('MyModule'); myModule.sayHello('Kevin'); //CA prompts "sayHello" and ContextInfo for "name" parameter {code} We present content assist against the functions and properties defined in the module file * This would require changing the index to show what individual files require and filtering that in content assist.
Story points: 13