Q:

Creating a new thymeleaf template in IntelliJ

I am using IntelliJ to make an app that uses thymeleaf but when I click to create a new file there is no option for thymeleaf. I know thymeleaf files are just html, but it seems like there should be a preconfigured option for this?

A:

Use Plugin Configuration Wizard to enable Thymeleaf plugin.
You can manage plugins to enable or disable plugins in intellij.
or 

File -> Other Settings -> Config Plugins -> check thymeleaf.

Don't forget to add xmlns:th=”http://www.thymeleaf.org” in HTML root as shown here.

