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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -