当前位置:网站首页>IDEA设置版权信息
IDEA设置版权信息
2022-04-23 11:57:00 【Jack魏】
File→Settings或者Ctrl+S快捷键。
Editor下面有个Copyright→Copyright Profiles

点击加号,然后输入名称。

然后修改成自己的信息:
其中第一个年份是本文件新建日期,后面的是最后一次修改年份。
版权所有(c) Jack魏 $today.year - $today.year
参数说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| $today | DateInfo | 当前日期时间对象 |
| $file.fileName | String | 当前文件的名称 |
| $file.pathName | String | 当前文件的完整路径 |
| $file.className | String | 当前文件的类名 |
| $file.qualifiedClassName | String | 当前文件的权限定名 |
| $file.lastModified | DateInfo | 上一次修改的日期时间对象 |
| $project.name | String | 当前项目名 |
| $module.name | String | 当前 Module 名 |
| $username | String | 当前用户名(系统用户名) |
其中DateInfo又可以有如下参数:
| 名称 | 类型 | 说明 |
|---|---|---|
| year | int | 当前年份 |
| month | int | 当前月份 |
| day | int | 当前日期(1-31) |
| hour | int | 当前小时(0-11) |
| hour24 | int | 当前小时(0-23) |
| minute | int | 当前分钟(0-59) |
| second | int | 当前秒数(0-59) |
| format(String format) | String | 时间日期格式化 |

然后写代码的时候,按住Alt + Ins


版权声明
本文为[Jack魏]所创,转载请带上原文链接,感谢
https://jackwei.blog.csdn.net/article/details/124334202
边栏推荐
- NativeForMySQL 连接MySQL8 提示:1251- Client does not support authentication protocol
- 1. Construction of electron development environment
- 如果你是一个Golang面试官,你会问哪些问题?
- WIN10 启动后花屏
- 获取钉钉考勤机打卡记录
- Significance of actively participating in middle school robot competition
- Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied
- Relu function of activation function
- 第二十六课 类的静态成员函数
- How to expand the capacity of the server in the 100 million level traffic architecture? Well written!
猜你喜欢

IDEA 代码质量规范插件SonarLint

2022 love analysis · panoramic report of industrial Internet manufacturers
![[Web 每日一练] 八色拼图(float)](/img/59/474080f6377b3684aa4fb2a39e1d81.png)
[Web 每日一练] 八色拼图(float)

激活函数之阶跃函数

How to count fixed assets and how to generate an asset count report with one click

Practical data Lake iceberg lesson 30 MySQL - > iceberg, time zone problems of different clients

On the integration of steam education in early childhood education

Interpretation of biological recognition in robot programming course

Share two practical shell scripts

Nacos Foundation (9): Nacos configuration management from single architecture to microservices
随机推荐
Summary of convolution layer and pooling layer
Tclerror: no display name and no $display environment variable
Sigmoid function of activation function
欣旺达宣布电池产品涨价 此前获“蔚小理”投资超10亿
The fourth chapter is to enable the filling object of IM and enable ADO for im column storage (IM 4.8)
运行报错:找不到或无法加载主类 com.xxx.Application
How to expand the capacity of the server in the 100 million level traffic architecture? Well written!
IFLYTEK's revenue in 2021 was 18.3 billion yuan: a year-on-year increase of 41% and a net profit of 1.556 billion yuan
Nacos Foundation (9): Nacos configuration management from single architecture to microservices
IMEU如何与IMCU相关联(IM 5.5)
VMware virtual machines export hard disk vmdk files using esxi
第二十六课 类的静态成员函数
面了一圈,整理了这套面试题。。
MySQL 的主从复制配置
配电房远程综合监控系统在10kV预制舱项目中的应用
1.Electron开发环境搭建
ThinkPHP adds image text watermark to generate promotion poster with QR code
A detailed explanation of head pose estimation [collection of good articles]
Blog post navigation (real-time update)
软银愿景基金进军Web3安全行业 领投CertiK 6000万美元新一轮投资