I haven't found similar problem descibed in discussions on this board but if they are here, please redirect me to them ;)
I write a simple plugin that suggests methods of a stubbed class in PHP's Phake test doubles framework: https://github.com/mlively/Phake
Phake is strongly inspired by Mockito and uses same logic for creating mock objects:
$mock = Phake::mock('ClassName');
methodName is what I want to suggest.
I've currently done that using CompletionContributors but it not suggests methods' names immediately, I have to press Ctrl+Space two times.
What I'm doing wrong? Should I use reference providers instead?