Use relative file path as variable in copyright profile template

According to this page (Copyright Profiles | IntelliJ IDEA Documentation (jetbrains.com)) is possbile to set some variable in the copyright profile.

One variable is "$file.pathName", but this will print the absolute path of the file. Is possible to print the relative path instead (relative to project folder e.g. sources/modules/mymodule.cpp)?

0
$file.qualifiedClassName.replaceAll("[A-Za-z0-9]+\Z", "")$file.fileName
0

请先登录再写评论。