https://github.com/nvelychenko/drupal-extend
Extends Drupal integration with PHPStorm
https://github.com/nvelychenko/drupal-extend
drupal phpstorm
Last synced: 5 months ago
JSON representation
Extends Drupal integration with PHPStorm
- Host: GitHub
- URL: https://github.com/nvelychenko/drupal-extend
- Owner: nvelychenko
- License: gpl-3.0
- Created: 2023-12-02T11:13:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-05T10:21:46.000Z (5 months ago)
- Last Synced: 2025-02-05T11:27:19.165Z (5 months ago)
- Topics: drupal, phpstorm
- Language: Kotlin
- Homepage: https://plugins.jetbrains.com/plugin/23474-drupal-extend
- Size: 4.16 MB
- Stars: 6
- Watchers: 1
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# drupal-extend

[](https://plugins.jetbrains.com/plugin/23474-drupal-extend)
[](https://plugins.jetbrains.com/plugin/23474-drupal-extend)The plugin is enhancement for your Drupal development experience.
## Features
* Autocomplete for Content/Config Entities Storage (eck support)
* Fields autocomplete (default configuration directory points to the `config/sync` directory, you can change it inside plugin settings. Settings -> PHP -> Drupal Extend)
* Field properties autocomplete e.g. `$node->get('field_user')->en|` it will autocomplete **entity** in this case.
* Autocomplete for render element types and their properties.
* Storage reference provider
* Fields reference provider
* Reference provider for Render element types and themes.
* Entity Type Provider for `$storage->load/loadMultiple/loadByProperties`
* Type Provider for static `Node::load/create/loadMultiple` methods
* Type Provider for `\Drupal::service('')`
* Autocomplete for `#theme`
* Render element type and theme highlight (Annotator)
* Fields autocomplete in content entity queries and entity storages autocomplete in `\Drupal::entityQuery()`
## Installation
- Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "drupal-extend" >
Install
- Manually:Download the [latest release](https://github.com/nvelychenko/drupal-extend/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...## Troubleshooting
- Entity type resolver has a chance to not work 10-20% of time if you are using `.phpstorm.meta.php` generated via `drush generate-metadata`. Plugin provides all features from that file, so you can safely delete it.