Support author name in LicenseHeaderStep
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 LicenseHeaderStep 入口点开始,跟踪 licenseHeader 当前如何接受常量字符串。定义应如何提供建议的年份和作者值,并使用示例确定预期渲染的 header;完成需要对模板替换进行有针对性的覆盖。
由索引模型根据 Issue 内容生成。
描述
Some license texts include the name of the file's initial creator. This is currently not possible to do with the LicenseHeaderStep.
Maybe the step could should work with templates rather than constant strings, e,g,
licenseHeader('/* Copyright ${year} ${author}*/',
[year: java.time.LocalDate.now().year, author: 'John Doe'])
- 主要语言
- Java
- 星标
- 5.7k
- 派生
- 565
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 58
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
diffplug/spotless 的其他 Issue
-
google-java-format 1.37.0: NoSuchMethodError on JavaFormatterOptions$Style.valueOf (Style is now a record)可能已有人在做 @Goooler 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
diffplug/spotless#3126 · 1 条评论 ·
维护者通常 1 天内回复
-
ktfmt changes groupId to "org.jetbrains" starting with version 0.65可能已有人在做 @Goooler 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
diffplug/spotless#3125 · 2 条评论 ·
维护者通常 1 天内回复
-
shortenFullyQualifiedTypes corrupts method references on fields (x.field::m -> bogus import x.field)可能已有人在做 @maxandersen 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 25/100
维护者通常 1 天内回复
-
Add support for org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_record_parameter未关闭
难度 3/5 1-2 天 新手友好度 67/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
查看 diffplug/spotless 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
liquid-java/liquidjava#373 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NationalSecurityAgency/ghidra#9748 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
spring-mcp-tools
难度 2/5 1-3 小时 新手友好度 85/100
explyt/spring-plugin#591 ·
维护者通常 1 天内回复