Closed
Description
It would be useful if there was a field in the license header template called $FILE
, $file.fileName
, or similar that would be replaced with the name of the file the header is being applied to.
For example, I could write something like:
/*
* Copyright (c) 2021 OxygenCobalt
* $file.fileName is part of Foo.
*/
And it would end up resolving to:
/*
* Copyright (c) 2021 OxygenCobalt
* Bar.kt is part of Foo.
*/
I'm mostly drawing this idea from IntelliJ's Copyright Notice format.