Hi all, with vim7's omni-completion how do you call/get functions/variables relating to a specific class?
$object = new HTML_QuickForm(); $object-> And then after you type -> how do i call for completions only relating to the HTML_QuickForm class? I've tried the patch for ctags for PHP5 but my results are the same, are there specific parameters to build the tags file for vim so i can call for suggestions relating to a specific class/object? I've been going into my pear/lib dir and typing: ctags -R I've also tried ctags -R --fields=+S But every time after i type -> i will always just get everything in the tags file including new class names. Is there a specific key combo i must press to get suggestions relating to the class/object? Also how can i build a tags file where functions will have parameters in the preview window? It already does this for php functions but for some reason pear libs and my code will always just be function_name() instead of function_name($param1,$param2,$etc) Lastly when you get the list of suggestions, what are the different keys you can press to cancel the drop down (I've been pressing escape but then I'm out of insert mode and the suggestion i was on has been filled in my code). I remember vim's help had the list of keys but i just can't seem to find it. Thanks in advance.