/fluid-live-templates

Live templates for the Fluid templating language, for use in JetBrains IDEs

MIT LicenseMIT

Fluid Live Templates for IntelliJ / WebStorm IDEs

This package contains live templates for some of the most-used Fluid view helpers. Feel free to submit PRs to add any missing view helpers or fix bugs.

Usage

All live templates start with:

  • f: for tag-style Fluid view helpers
  • fi: for inline-style Fluid view helpers
  • n: for tag-style Neos view helpers (none added yet)
  • ni: for inline-style Neos view helpers (none added yet)

Installation

  • Open the templates.xml file with a text editor or directly in github, and copy its contents to your clipboard.
  • Open your JetBrains IDE and go to the live templates settings (Preferences > Editor > Live Templates)
  • Add a new template group and call it "Fluid".
  • Right-click it and select "Paste".
  • Restart your IDE.

Congrats! You can now use the shorthands to generate Fluid view helpers.

The installation process is also described here: https://www.jetbrains.com/help/idea/2016.1/sharing-live-templates.html

Fluid

Fluid is the frontend templating language of the Neos project. Find more information about live templates in the IntelliJ docs.