Closed nathggns closed 11 years ago
Say I have the following file
<?php
// functions.php
/**
* Remove an item from an array and return the item
* @param string $needle Key of the item
* @param array $haystack The array to remove the item from
* @return mixed The item you removed
*/
function array_remove($needle, &$haystack) {
$var = $haystack[$needle];
unset($haystack[$needle]);
return $var;
}
And then in index.php
I start to type array_rem
and autocomplete, I'll just get array_remove
but not array_remove($needle, $haystack)
with tab stops.
Thanks for the details.
This is out of scope of this package. I.e., not a supported feature and there are no plans to implement it. Sorry...
Maybe https://github.com/SublimeCodeIntel/SublimeCodeIntel works for you and supports this?
Can you please clarify and give an example?