RequireJS: Allow code completion

I have this very simple AMD module and I want to map 'N' to an external library named SuiteScript 2.0 to make use of code completion:

Is this possible? Are there any plugins that can help on this? Ideally, there must be a preference that will allow you to do something like this:


what do you mean by external library? Where is it located? From Require.js docs (, paths value should be a path relative to baseUrl (or .html file if it's omitted) unless you specify a protocol (http://) to load module from CDN. Note that WebStorm can't resolve libraries from CDN links, you need to have all libraries available in your project


The external libraries came from a plugin. Looks like I found the solution: use JSDoc properly


Please sign in to leave a comment.