Runing of annotation processor after changing of file

Answered

Hi guys!

I want to write simple plugin which runs annotation processor after changing of files(add annotation for ex).
I found how i can track changing of files via VirtualFileManager and check theirs content. And now I need to make project from plugin or simply run annotation processor to generate files. Who knows how to do it?

1 comment
Comment actions Permalink

Hi Pavel, 

This functionality (annotation processors support) is already available in IDEA as a part of its incremental build system (JPS). You don't need any special plugins for this. To configure annotation processing please see File | Settings | Build, Execution, Deployment | Compiler | Annotation Processors

0

Please sign in to leave a comment.