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

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

java - Unable to make sub reports with Jasper -

Integrity error when loading fixtures for Selenium testing in Django -