This is a collection of common TYPO3 fluid viewhelpers snippets for Atom.
The viewhelpers documentation can be found at the TYPO3 wiki
You can use these snippets in all .html
files. Just type the name of the viewhelper e.g. image
and use atoms autocomplete
Result: <f:image src="$1" />
where your cursor will be placed at $1
Blocks: e.g. switch
<f:switch expression="$1">
<f:case value="$2">$3</f:case>
<f:case value="$4">$5</f:case>
</f:switch>
There you can use tabs to cycle through the cursor positions
Go to Atom > Preferences... then search for fluid typo3 in Packages tab.
Original author: https://github.com/pille72
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.