Origin from: options-completion-phpstorm-plugin
Download: https://plugins.jetbrains.com/plugin/9761-options-completion-plugin
Parses phpDocumentor's hash description and shows supported keys.
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