Ability to list all failing files with spotlessCheck
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- build-system, tooling
调研方向
从 issue 中引用的限制处开始查看 lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java,并使用超过十个失败文件复现 spotlessCheck 的输出。当 check 可以显示所有失败文件,或限制已被明确提高,同时保留现有的运行 spotlessApply 的指导时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Hello
Today running spotlessCheck allows the display of maximum 10 files as stated in : https://github.com/diffplug/spotless/blob/5a5db69db6254de76c2b33ca4c1f76d3da5d62b3/lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java#L161
Example of logged error today :
Violations also present in 41 other files.
Run 'gradlew.bat :spotlessApply' to fix these violations.
\* Try:`
\> Run with \-\-stacktrace option to get the stack trace.
\> Run with --info or \-\-debug option to get more log output.
\* Get more help at https://help.gradle.org`
BUILD FAILED in 6s
3 actionable tasks: 1 executed, 1 from cache, 1 up-to-date
For our projects, we need be able to see all files that are breaking the formatting.
Could we remove this limit or raise it ?
Thank you
- 主要语言
- Java
- 星标
- 5.7k
- 派生
- 560
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 48
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
diffplug/spotless 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
diffplug/spotless#3067 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 66/100
diffplug/spotless#3040 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
diffplug/spotless#3013 · 2 条评论 ·
维护者通常 1 天内回复
查看 diffplug/spotless 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
OpenAPITools/openapi-generator#25014 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
openhab/openhab-core#5847 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 88/100
apache/parquet-java#3820 ·
维护者通常 1 天内回复