打開setting 》 live templates,點擊右上角 + ,設置快捷鍵,個人喜歡單詞。
設置template text:
/**
* @Author: Wheel
* @Date: $date$
* @Description: $description$
*/
define,設置用在註釋在那些語言上,選擇java,
edit variables, 設置變量,
這裏只需要設置date();
description,用於自己描述該方法的用處。
打開setting 》 live templates,點擊右上角 + ,設置快捷鍵,個人喜歡單詞。
設置template text:
/**
* @Author: Wheel
* @Date: $date$
* @Description: $description$
*/
define,設置用在註釋在那些語言上,選擇java,
edit variables, 設置變量,
這裏只需要設置date();
description,用於自己描述該方法的用處。
第一步、在pom.xml文件中添加依賴 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spri