This Project moved to https://github.com/Cognifide/AEM-Code-Templates
HTL Live Templates
Simplifies writing HTL Markup in IntelliJ via Live Templates
Write "sly-command" or only $ in your html file and press Tab for auto-completion. Depending on the command, the markup is generated automatically.
${$VAR0$}
<sly data-sly-use.$VAR0$="$className$" />
data-sly-text="${$VAR0$ @ context=$VAR1$}"
data-sly-test="${$VAR0$}"
<template data-sly-template.$VAR0$="${ @ $VAR1$}"> $END$ </template>
data-sly-resource="${'$VAR0$' @ resourceType='$VAR1$'}"
data-sly-repeat="${$VAR0$}"
<sly data-sly-list.$VAR0$="${$VAR1$}"> $END$ </sly>
data-sly-include="$VAR0$"
<!--/* $VAR0$ */-->
data-sly-call="${$VAR0$ @ $VAR1$}"
data-sly-attribute="${$VAR0$}"
Download latest release.
Install to IntelliJ IDEA, see https://www.jetbrains.com/help/idea/2016.2/sharing-live-templates.html
I added a IntelliJ IDEA File Template for Sling Models in templates folder.