https://github.com/noctud/intellij-latte
♨️ Latte for PhpStorm and IntelliJ
https://github.com/noctud/intellij-latte
intellij intellij-idea intellij-plugin latte nette nette-framework php phpstorm phpstorm-plugin
Last synced: 13 days ago
JSON representation
♨️ Latte for PhpStorm and IntelliJ
- Host: GitHub
- URL: https://github.com/noctud/intellij-latte
- Owner: noctud
- License: mit
- Created: 2024-04-21T02:10:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-31T13:03:21.000Z (2 months ago)
- Last Synced: 2026-04-02T23:45:43.521Z (2 months ago)
- Topics: intellij, intellij-idea, intellij-plugin, latte, nette, nette-framework, php, phpstorm, phpstorm-plugin
- Language: Java
- Homepage: https://plugins.jetbrains.com/plugin/24218
- Size: 7.56 MB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Latte for PhpStorm and IntelliJ IDEA
=========================================
[](https://plugins.jetbrains.com/plugin/24218-latte-support)
[](https://github.com/noctud/intellij-latte/actions)

[](https://discord.noctud.dev)
Provides comprehensive support for the [Latte](https://latte.nette.org) templating engine in PhpStorm and IntelliJ IDEA. Includes syntax highlighting, code completion, type-aware references via [{templateType}](https://latte.nette.org/type-system#toc-templatetype), navigation from `{link}` to presenter actions and `{control}` to components, live inspections, refactoring across Latte and PHP files, and configurable custom tags, filters, and functions per project.
If you have any problems with the plugin, [create an issue](https://github.com/noctud/intellij-latte/issues/new/choose) or join the [Noctud Discord](https://discord.noctud.dev).

Notice
------------
This plugin is a fork of the [original free plugin](https://github.com/nette-intellij/intellij-latte). This fork has been created as another free plugin, since the code completion feature was removed from the original free plugin.
Installation
------------
Settings → Plugins → Browse repositories → Find "Latte Support" → Install Plugin → Apply
Installation from .jar file
------------
Download the `instrumented.jar` file from the [latest release](https://github.com/noctud/intellij-latte/releases) or the latest successful [GitHub Actions build](https://github.com/noctud/intellij-latte/actions)
Supported Features
------------------
* Syntax highlighting and code completion for PHP in Latte files
* Type-aware references to classes, methods, properties, and constants (via [{templateType}](https://latte.nette.org/type-system#toc-templatetype))
* Link references between `{link}` macros and presenter action methods
* Control component references from `{control}` tags to registered components
* File path references and missing file detection in `{include}` and `{import}` macros
* Refactoring support (rename classes, methods, variables across Latte and PHP)
* Live inspections (undefined variables, unknown classes/methods, deprecated tags, modifier issues, iterable types)
* Code folding, brace matching, and structure view
* Configurable custom tags, filters, functions, and variables per project
* Live templates for common Latte constructs
* Support for `{syntax off}`, `{syntax double}`, and `n:syntax` attributes
Building
------------
```sh
./gradlew build
```
Testing in sandbox IDE
------------
```sh
./gradlew runIde
```