字符编码配置
控制台字符编码配置
- tomcat乱码处理
在tomcat的VM options
内加入-Dfile.encoding=UTF-8
- 系统乱码处理
File -> Settings->File Encodings -> Defaule encoding for properties files
配置Ctrl+s 替代 Ctrl+F9 进行编译
File -> Settings->Keymap


配置外置Terminal
File ->Setting->Tools->Terminal->Application Path(Shell Path)
注释模板配置
Class模板配置:
Setting -> Editor -> File and Code Templates -> Class
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
* ClassName: ${NAME}
*
* @author Ryan.h
* @description ${description}
* @version 1.0
* @date ${DATE}
*/
public class ${NAME} {
}
Method模板配置:

网友评论