Relative Path to Subset
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
从报告中描述的 Eclipse 插件的 PMD 项目属性配置和 PMD > Check Code 操作开始。使用本地规则集层次结构,在不重启 Eclipse 的情况下修改一个文件,重现该行为。当层次结构中的任意文件发生变化时,插件都能重新加载规则集,且无需重启 Eclipse,即表示完成。
由索引模型根据 Issue 内容生成。
描述
How do I force the PMD Eclipse plugin to use the latest version of the ruleset? The ruleset is in a file on the local disk. I am not sure if this is a missing feature, lack of documentation or my lack of Google skills.
I configured the PMD Eclipse plugin to use a ruleset in the file system. I opened the ruleset in an Eclipse editor. I added a rule to the file and saved it. In the Package Explorer, I right-clicked on a Java file and in the menu clicked PMD > Check Code. The new rule was not used.
If I run PMD on the command line using the ruleset, PMD flags the problems from the new rule. This suggests to me that the PMD Eclipse plugin is not picking up the latest version of the ruleset.
In the menu bar, I clicked on Project > Clean (which rebuilds the project). The PMD Eclipse plugin did not pick up the latest version of the ruleset.
In the menu bar, I clicked File > Restart. The PMD Eclipse plugin did pick up the latest version of the ruleset. This is very slow and seems to be overkill.
In the project properties > PMD, I changed the properties, clicked Apply & Close, and rebuilt the project. The PMD Eclipse plugin did not pick up the latest version of the ruleset.
Note: PMD rulesets can be a hierarchy of files. If any one of the files changes, then the PMD Eclipse plugin should reload the ruleset.
- 主要语言
- Java
- 星标
- 99
- 派生
- 42
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 10
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pmd/pmd-eclipse-plugin 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
pmd/pmd-eclipse-plugin#297 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
pmd/pmd-eclipse-plugin#212 · 3 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
pmd/pmd-eclipse-plugin#180 · 6 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
pmd/pmd-eclipse-plugin#175 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
pmd/pmd-eclipse-plugin#170 ·
维护者通常 2 天内回复
查看 pmd/pmd-eclipse-plugin 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/rocketmq-dashboard#7039 ·
维护者通常 3 天内回复
-
pdfium-drift
难度 1/5 1 小时以内 新手友好度 82/100
Stirling-Tools/JPDFium#176 ·
维护者通常 1 天内回复
-
Guidelines: redundant use cases, stale dev bundle after snapshot bumps, looking up snapshot API可能已有人在做 @totally-not-ai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
vaadin/use-cases#441 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
hiero-ledger/hiero-consensus-node#27712 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 61/100
Vakore/ZappierGames#162 ·