Features
Thymeleaf snippets for vscode
Snippets for the most common thymeleaf features. Works with .html files.
Trigger |
Content |
thtxt |
th:text="${}" |
thfld |
th:field="*{}" |
theach |
"th:each=" : ${}" |
theachli |
Thymeleaf each with list |
thobj |
th:object="${}" |
thref |
th:href="@{}" |
thform |
Thymeleaf form |
thif |
th:if="${}" |
thswitch |
th:switch="${}" |
thcase |
th:case="" |
thval |
th:value="" |
thins |
th:insert="" |
threp |
th:replace="" |
thfr |
th:fragment |
thwith |
th:with="" |
thstyle |
th:style="" |
thtmpl |
HTML thymleaf template |
Release Notes
1.0.0
Initial release of thymeleaf snippets
1.0.2
th:field added
1.0.4
th:insert, th:replace, th:fragment added
1.0.5
th:if @ changed to $
1.0.6
th:style and th:with added
| |