tern.java
tern.java copied to clipboard
Project validation (jshint) hangs when it contains big files
Steps:
- Clone this repository.
- Convert it into a Tern project
- Enable JSHint validation
- Allow Eclipse to validate the project.
The validation process hangs on the file "lib/words.js" and if tracing in the console, the only message shown is:
Tern request#jshint: {"query":{"type":"jshint","lineNumber":true,"file":"lib/words.js"}}
While in the Progress view, it says:
Validation... Tern Validator starting to validate: words.js
After debugging, it seems that the problem comes from JSHint 2.9.1 (I have tried with simple command jshint and there is the same problem). I have created the issue at https://github.com/jshint/jshint/issues/2866
For tern.java, it should be good that to stop the validator when JSHint hangs. I have none idea for the moment how we could do that.
@orlandoibm can I close this issue?
Yes @angelozerr, go ahead and close it. Thanks.
Thanks @orlandoibm