omnicomplete - vim php omnicompletion not showing classes -


i tried setting omnicompletion in vim yii project. this, go yii/framework folder , create ctags file ctags-exuberant -f yii.tags --languages=php -r in .vimrc, added yii.tags file :set tags=~/public_html/yii/framework/yii.tags

on opening tags file shows classes.

however, when open file , hit c-x, c-o , dropdown list contains functions , variables. couldn't find similar problem on search. missing?

according :help ft-php-omni, default omnicomplete script php (the 1 part of standard vim distribution) completes class names after new keyword. work?

if want method completion restricted correct class, may have add hints in comments. docs include example

/* @var $myvar myclass */ $myvar-> 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -