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
Post a Comment