Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 eclipse Juno 及其 PMD 插件。如何设置我的 Eclipse 以在文件保存操作上运行 PMD?
谢谢
您可以在项目属性中启用 PMD:
之后,PMD 警告和错误将在保存时在 Java 文件中更新。