idea中copyright使用

1,在idea中找到settings->Editor->copyright->copyright profiles,然后点击+,输入名字,在copyright text中输入模板.然后点击右下角apply.
模板:
   Copyright(c)2002-2019, xxxxxxxxx有限公司
   项目名称:$project.name
   文件名称:$file.fileName
   Date:$today
   Author:xxxxxxxx
2,在settings->Editor->copyright中default project copyright选择1中的copyright名字,点击右上方+.添加scope,scope列选择project file,然后点击右下角apply.
3,1)此时在新建项目时就会自动加入copyright.
 2)可以右击目录或者project file选择update copyright手动加入coperight
 3)可以通过在project file中使用alt+insert快捷键选择copyright生成版权信息。
————————————————
版权声明:本文为CSDN博主「无言语对」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/ab84120966/article/details/90239450

猜你喜欢

转载自www.cnblogs.com/wang3680/p/12082123.html