I've defined an annotation processor and bundled it in a Jar file using the standard structure. For instance, the fq name of the processor is defined in the javax.annotation.processing.Processor file inside the services directory of the Jar. After checking "Obtain processors from project classpath" I expected IntelliJ to automatically discover the processor without having to declare its name in the Compiler settings dialog. In addition I expected it to just work without having to explicitly specify modules. Should it work that way and I've missed a critical step somewhere or? Thanks.
Also while I'm here... It took a bit of thinking regarding debugging an annotion processor. What I've done basically is pass debug args to javac and suspend it and then connect to it via a separate remote debug config. I was hoping that by specifying the in-process javac option that it would give me some option to debug locally. Is there a better way than what I'm currently doing with the remote config? Thanks again.