# Symfony Plugin Others

**Other features** include various utilities and enhancements that don't fit into the main categories.

---

## 

**Feature ID:** `TwigVarCommentAnnotator`  
**Date:** 2026-02-25

Provides syntax highlighting for `@var` doc comment annotations in Twig templates. The annotator colors the `@var` keyword, variable names, and class names to improve readability of type annotations.

---

## 

**Feature ID:** `CommandNameTerminalCompletionContributor`  
**Date:** 2025-12-11

Provides intelligent code completion for Symfony console commands directly in the integrated terminal. When typing `bin/console` or `console` commands, the plugin automatically suggests available commands, and for command options after the command name. Supports completion for:

---

## 

**Feature ID:** `SymfonyEndpointProvider`  
**Date:** 2026-03-02

Integrates Symfony routes with IntelliJ Ultimate's **Endpoints** tool window. Routes are displayed with HTTP methods, paths, and controller information.

---

## 

**Feature ID:** `TwigTemplateReferencesSearchExecutor`  
**Date:** 2026-03-03

Use IntelliJ's **Find Usages** (Alt+F7) on any Twig template to see all references grouped by semantic type: extends, include, embed, import, from, form_theme, controller, and component.

### Code Examples

```php
# extends:
{% extends 'base.html.twig' %}
```

```php
# include:
{% include 'partials/nav.html.twig' %}
{{ include('partials/nav.html.twig') }}
{{ source('partials/nav.html.twig') }}
```

```php
# embed:
{% embed 'layout.html.twig' %}
    {% block content %}Override{% endblock %}
{% endembed %}
```

```php
# import / from:
{% import 'macros.html.twig' as macros %}
{% from 'macros.html.twig' import input as text_input %}
```

```php
# form_theme:
{% form_theme form with 'form/div_layout.html.twig' %}
```

```php
# controller:
return $this->render('home/index.html.twig');
return $this->renderView('home/index.html.twig');
```

```php
# component:
{{ component('Alert', { type: 'success' }) }}
{% component Alert type='success' %}{% endcomponent %}
<twig:Alert type="success"></twig:Alert>
```

---

