I am trying to use Eclipse for JavaScript (Eclipse IDE package for Java EE Developers).
My project uses Bluebird (an implementation of promises), and therefore it has many lines, for example:
somePromise.catch(function(err){...
Eclipse considers the error to be an error, probably because it believes that "catch" is a reserved keyword that cannot be used as the name of a method. The same goes for the promise. Perhaps this is correct, but I would prefer not to switch to another library just because of this.
Is there a way to make it ignore these specific errors (but keep reporting other errors in the same files)?
javascript eclipse validation
user3742276
source share