Runing of annotation processor after changing of file
已回答
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?
请先登录再写评论。
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