Getting the Checkstyle plug-in in Eclipse to use your custom check

前端 未结 1 510
旧巷少年郎
旧巷少年郎 2021-01-25 23:13

I\'ve written a custom check MethodLimitCheck.java. I also have a custom configuration file myconfigurationfile.xml which contains the following:

相关标签:
1条回答
  • 2021-01-25 23:28

    This is quite difficult, I'm afraid. You need to write a small Eclipse plugin which is used to make the check available to Eclipse as explained here. The packaged plugin JAR can then be placed into the dropins folder. If you did everything right, you will be able to select your new check in the Checkstyle options.

    Be prepared to spend a few days on this though, or find someone who already has experience writing Eclipse plugins.

    0 讨论(0)
提交回复
热议问题