通过File-> Setting-> Editor-> File and Code Template
在右边File面板中找到HTML 将需要配置的模板修改即可
比如 我在此加入thymeleaf模板引擎和shiro标签
<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf"
xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
更多推荐
idea编辑html模板文件
发布评论