Linter javac painfully slow #98
Description
Thank you for maintaining this package, it's a good step in improving Java development on Atom. (I'm maintaining other efforts).
To the issue. A few (legacy) projects I work on have quite a few java files in the project (read 100s). The way linter-javac
works now it recompiles them all on every change, which is very resource intensive and takes a very long time.
I think to make this linter useful for larger projects, it must be more intelligent. I think it should be possible to use the build in tokenizer in java (as I'm doing in autocomplete-java-minus
) to intelligently figure out which classes needs to be included in the compile command.
This would also help with the E2BIG
issue which have been "resolved" recently. It no longer errors, but leaves out necessary classes giving incorrect lint messages.
I understand this is not a quick-fix, but I wanted to raise this issue where we can discuss how to improve performance. Possibly there are other things we can do to make it faster?