Eclipse: Javascript validation disabled. but still generating errors?

前端 未结 9 766
南方客
南方客 2020-12-12 13:05

The validation in Eclipse is catching what it deems \"errors\" in the framework I\'ve been using just fine.

  • Project -> Properties -> Validation

9条回答
  •  不知归路
    2020-12-12 13:44

    I believe this is caused by this bug in Eclipse Web Tools <3.5.2

    It also seems to only typically affect minified Javascript (it is sensitive to certain patterns in function declarations - see link)

    @Marek describes a work around to remove the errors if you are using an affected version of Eclipse Web Tools. However, a better solution might be to update to Eclipse >=4.3 and use Eclipse Web Tools >=3.5.2

提交回复
热议问题