javascript - Setup eclipse to validate firefox addon-sdk libraries -


is there way configure eclipse aware of firefox addon-sdk libraries .. in such way if errors exist on api methods underlined normal javascript errors?

simple test using self api addon-sdk ..

var data = require("sdk/self").data;  exports.get = function(content) {   return data.url(content); } 

if remove content data.url() there no error or warning in ide, instead see error @ runtime, seems pretty late ..

var data = require("sdk/self").data;      exports.get = function(content) {       return data.url();     } 


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -