Custom file template for C files
I want to create author header for C file in CLion (it use Apache Velocity template language) wich looks like this:
/****************************************/
/* ${FILE_NAME} */
/* */
/* By: ${USER} */
/* */
/* Created: ${DATE} by ${USER} */
/* Updated: ${??} by ${USER} */
/* */
/***************************************/
There are two problems:
1. How to add Updated date and how can I change it format?
2. I want to fix the width of header, now its width varies depending on length of the FILE_NAME and USER. How can I fix it?
CLion 2018.3.3
Linux 4.15.0-43-generic
请先登录再写评论。