idea配置File and Code Templates(持续增加...)

HTML Templates

<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>#[[$Title$]]#</title>
</head>
<body>
#[[$END$]]#
</body>
</html>

idea格式化HTML页面默认的排版是不太美观的,建议重新配置格式化:

参考文章:

(1条消息) IDEA格式化HTML页面_Buffett&Coke的博客-CSDN博客_idea 格式化html

(1条消息) intellij idea设置tab键为4个空格_罗罗诺亚F的博客-CSDN博客

Spring Templates

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">

</beans>

猜你喜欢

转载自blog.csdn.net/qq_53729147/article/details/127963942
今日推荐