Fluid support for PHPStorm and IntelliJ

To support the daily work with the template language Fluid, we created this plugin for the popular IntelliJ IDEs - IntelliJ IDEA and PHPStorm - from Jetbrains.

A comparison of the editions

Features

Demo

Enterprise version

Free of charge

from 19,99 €

Autocomplete for tags

Quick documentation for tags

Error detection for tags

Jump directly to the correct files (Tags)

Fluid Namespace Support

Auto-completion for assigned variables inside of the Extbase action

Jump directly to the Extbase action on click of a variable

Auto-completion for inline syntax

Quick documentation for inline syntax

Error detection for inline syntax

Jump directly to the correct files (inline syntax)

Syntax Highlighting and Brace Matching for Inline Syntax

Support of Open Source projects

Without advertising

The Features

Auto-completion

To facilitate work across file boundaries, the plugin analyzes fluid code throughout the project and is able to offer helpful suggestions for auto-completion. This currently offers support for layouts, partials, sections, ViewHelper, Viewhelper arguments and controller view parameters.

Quick documentation

With the key combination Ctrl + Q (Ctrl + J under OSX) the documentation of the currently selected symbol can be displayed in a popup window at any time.

Jump directly to the right files

Thanks to the Fluid plugin, the files you are looking for are only one click away. When using partials, layouts, templates or sections, you can jump directly to the place where they are defined with Ctrl + Click. Even if the definition is in another file. This jump function is not only possible within fluid files, but also to associated view helpers and controller methods.

Syntax Highlighting and Brace Matching for Inline ViewHelper

When using Inline-ViewHelpers, the clarity and readability of the code often suffers. The nesting makes it more difficult to recognize where certain constructs start, or to stop and quickly avoidable nesting or syntax errors creep in. The Fluid Plugin provides language-optimized highlighting and brace matching, so that these errors become visible as soon as the code is written and can be avoided directly.

Error detection

The Fluid-Plugin is very familiar with the peculiarities of the language and thus recognizes syntax errors even in places where this was not possible with the IntelliJ board means up to now.


FAQ

1.) Warning: Namespace "f" is not bound

This is a warning directly from the editor and not from Fluid-Plugin. Unfortunately, we can't prevent the error by default. However, there is a little trick to hide it for all files.

  1. Click with the left mouse button on the namespace.
  2. Now use the key combination "Alt + Enter" and press the right arrow key for the element shown.
  3. Select "Disable inspection" from the open list.

Roadmap & License

The Fluid-Plugin for IntelliJ IDEs is permanently developed and improved. The following features are already planned for the upcoming versions. Are you missing a feature or do you have suggestions for improvement? You are welcome to contact us or create a ticket in our bugtracker.

  • Check whether all layout sections are used in the templates.
  • Resolve layoutpath, partialpath, and templatepath assigned variables (requires parallel use of TypoScript plugins)
  • Checking the type safety of ViewHelper arguments
  • Configurable syntax highlighting
  • IDE support for Inline-ViewHelper outside arguments
  • @SuppressWarnings("unchecked") statement support
  • Warning for actions that are not assigned to a template
  • Warning for templates that are not assigned to a layout

License

In general the usage of this software requires the payment of a small fee. Details about the commercial licence can be found here:

License Details