Haehnchen / idea-php-toolbox

Collections of tools and improvements to make PhpStorm a little bit better
http://phpstorm.espend.de/php-toolbox
MIT License
158 stars 20 forks source link

Add array-key or value completion for returned values and assigned variables #31

Open King2500 opened 8 years ago

King2500 commented 8 years ago

Example:

$components = parse_url($url);

$components['<CARET>'] ...

..would list:

Something similar could be:

// returns either 'a' or 'b'
$value = getSomething();

if ($value == '<CARET>') {
...

...lists a and b