Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable support for IntelliJ compatible place holders in license header templates #541

Closed
sameer-b opened this issue Mar 19, 2020 · 4 comments

Comments

@sameer-b
Copy link
Contributor

IntelliJ supports the following format$today.year for injecting the current year in the license header. Since the syntax for spotless is $YEAR; they are not compatible.

Since IntelliJ can auto inject this while creating new files, it would be convenient to have a single copyright template for both.

Could we enable support for $today.year? If we agree on the solution I can send a PR.

Thanks!
Sameer

@nedtwigg
Copy link
Member

Absolutely, I'd love to merge such a PR.

@sameer-b
Copy link
Contributor Author

@nedtwigg Thanks for the quick response! Here's the PR: #542

@nedtwigg
Copy link
Member

Released in x.28.0

@nedtwigg
Copy link
Member

nedtwigg commented Jun 5, 2020

If you care about license headers, you should checkout ratchetFrom 'origin/master'.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants