Grigory Ilizirov Grigory Ilizirov - 1 day ago 5
PHP Question

Eclipse code assist and phpDoc

I am using Eclipse for PHP Developers, Version: Neon Milestone 4 (4.6.0M4).
I am trying to make code assistant to show my custom functions in a bubble:

<?php
/**
* This is foo
* @param unknown $a
* @param unknown $b
*/
function foo($a,$b){
echo $a+$b;
}


The function appears in the Outline:
enter image description here

but it does not appear in the Content Assist bubble:
enter image description here

Is autocomplete for a custom function possible?
What can I do?

Answer

Finnaly I found the answer, it is related to eclipse index files

http://www.oneminuteinfo.com/2012/09/solving-eclipse-auto-complete-issues.html?m=1

Comments