Search code examples
phpeclipsephpdoceclipse-pdtcontent-assist

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?


Solution

  • 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