I'm generating some source files via ANTLR. I want to use those files while writing my own source code.
When I use the generateGrammarSource
task the code is perfectly generated but goes to the build\generated-src
directory. When I import classes from that directory, both my build
task and the make
project compiles successfully. But IntelliSense is generating a metric ton of errors and warnings (mostly indicating that the imports are non-existent - Cannot resolve Symbol
, even though they really are there).
Is this a problem with IntelliJ, what can I do to appease IntelliSense, so I can continue my work in peace?