idea-php-toolbox icon indicating copy to clipboard operation
idea-php-toolbox copied to clipboard

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

Open King2500 opened this issue 9 years ago • 0 comments

Example:

$components = parse_url($url);

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

..would list:

  • scheme
  • host
  • port
  • user
  • pass
  • path
  • query
  • fragment

Something similar could be:

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

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

...lists a and b

King2500 avatar Jan 05 '16 18:01 King2500