What problem does it solve?
It prevents stale or incorrect copyright years in source files by updating existing headers to the current year, using the notice template from your IntelliJ IDEA copyright profile.
Core Features & Use Cases
- Year substitution from IntelliJ profile: Reads the default notice from .idea/copyright/profiles_settings.xml and replaces today.year with the selected year.
- Selective, safe updates: Updates only files that already contain a recognizable copyright header, and skips files without one.
- Change-set friendly behavior: Uses explicitly provided paths when given, otherwise operates on tracked source files by default; supports dry-run and check modes for controlled rollout.
- Use Case: Before releasing a new version, refresh the copyright year across your Java/Kotlin/Proto/etc. sources without accidentally adding headers to unrelated files.
Quick Start
Run the copyright update in dry-run mode first to see which files would change, then run it again to apply the updates.