类的注释
IDEA 菜单栏——File——Settings——Editor——File and Code Templates
java类实现Serializable接口提示添加serialVersionUID
IDEA 菜单栏——File——Settings——Editor——Inspections——Java——Seriallization issues——Serializable classe without ‘serialVersionUID’
IDEA 右键创建mapper的xml
IDEA 菜单栏——File——Settings——Editor——File and Code Templates——Files,点击加号
模板代码
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="">
</mapper>