TYPO3 Fluid ViewHelper snippets plus TypoScript and TSConfig syntax highlighting for Visual Studio Code.
Supports TYPO3 Fluid templates in .fluid.html files.
All snippets included in this extension are created and adjusted based on the TYPO3 ViewHelper Reference. These snippets are designed to make coding easier and are still being developed. Continual additions and improvements are made to cover more needs and stay up-to-date with the latest TYPO3 features.
f:*Fluid ViewHelpers for assets, formatting, links, security, and morebe:*backend helpers such as module links, thumbnails, and user avatarscore:*core utilities including context helpers and various PSR-14 eventsformvh:*forms (translation, render section, errors, and dynamic fields)cb:*Content Blocks utilities like asset paths and translations
<f:asset.css
identifier="site-css"
src="EXT:my_ext/Resources/Public/Css/main.css"
/>{f:format.date(date: event.startDate, format: 'Y-m-d H:i')}<f:form.select name="options">
<f:form.select.option value="1">Option one</f:form.select.option>
<f:form.select.optgroup label="Group 1">
<f:form.select.option value="2">Grouped option</f:form.select.option>
</f:form.select.optgroup>
</f:form.select>{f:translate(key: "{cb:languagePath(name: 'vendor/name')}:title")}<f:format.bytes
decimalSeparator="."
decimals="2"
thousandsSeparator=","
units="['B', 'KB', 'MB', 'GB', 'TB']"
>
1048576
</f:format.bytes><f:page.headerData>
<link rel="preconnect" href="https://cdn.example.com">
<link rel="dns-prefetch" href="//cdn.example.com">
</f:page.headerData><f:page.meta
property="og:image"
subProperties="{width: 1200, height: 630, alt: 'Article image'}"
>
{item.image.url}
</f:page.meta>This extension also provides syntax support for TypoScript and TSConfig.
Have you found a bug in this project or have a suggestion for a new feature? Create a new ticket for the bug or feature, which can be found on the GitHub page.