Skip to content

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

Closed

Description

@sameer-b

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

Activity

  1. nedtwigg commented on Mar 19, 2020

    @nedtwigg
    Member

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

  2. sameer-b commented on Mar 20, 2020

    @sameer-b
    ContributorAuthor

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

  3. nedtwigg commented on Mar 20, 2020

    @nedtwigg
    Member

    Released in x.28.0

  4. nedtwigg commented on Jun 5, 2020

    @nedtwigg
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions