https://github.com/sunary/options-completion-phpstorm-plugin
Options completion PhpStorm plugin
https://github.com/sunary/options-completion-phpstorm-plugin
intellij-plugin phpstorm phpstorm-plugin
Last synced: 6 months ago
JSON representation
Options completion PhpStorm plugin
- Host: GitHub
- URL: https://github.com/sunary/options-completion-phpstorm-plugin
- Owner: sunary
- Created: 2017-06-09T09:04:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T10:32:40.000Z (over 8 years ago)
- Last Synced: 2025-07-03T07:49:41.394Z (7 months ago)
- Topics: intellij-plugin, phpstorm, phpstorm-plugin
- Language: Java
- Homepage: https://plugins.jetbrains.com/plugin/9761-options-completion-plugin
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Options completion PhpStorm plugin
====================
**Origin from:** [options-completion-phpstorm-plugin](https://github.com/woru/options-completion-phpstorm-plugin)
**Download:** [https://plugins.jetbrains.com/plugin/9761-options-completion-plugin](https://plugins.jetbrains.com/plugin/9761-options-completion-plugin)
Parses [phpDocumentor's hash description](https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md#examples-12) and shows supported keys.
```php
class Element {
/**
* Initializes this class with the given options.
*
* @param array $options {
* @var bool $required Whether this element is required
* @var string $label The display name for this element
* }
*
* @enum $color {"red", "green", "blue"}
*/
public function __construct(array $options = array())
{
$this->color = |
// | ctrl+space will show supported attributes
}
}
new Element(['label' => 'Bob', '|' ]);
// | ctrl+space will show supported attributes
```