Doesn't show standart methods
Raensul opened this issue · 3 comments
Raensul commented
Please help me to understand what am i doing wrong. I have tags file by phpctags. If I type code like this
$a = User::
and press ctrl+space, autocomplete works well and I am seeing all static methods defined in class User. But if I am writing code like
$b = new UserController;
$arr = $b->
and press ctrl+space nothing is happening.
complex857 commented
In theory this scenario is supported. There are 3 different things that can be a reason:
- ctrl+space is not triggering this plugin since it's not the default binding. Give it a try with ctrl+xo the default omni-complete keybinding just in case
- The tag
UserControllerfor some reason is not found by the plugin in the tagfiles, you can verify this with:tselect UserControllerand see if anything shows up. - The tag is found, but when the code tries to open the file it's supposed to be in from the tag file it can't open it and/or the file itself somehow failed to be parsed.
Can you show me the tag file and/or if you can show me the environment you are getting this, i might be able to look into it.
Raensul commented
Thank you for reply.
I made tags file in the directory where class is defined and it is ok now.
Sorry to disturb you.
complex857 commented
No worries, I'm glad you managed to figure it out. 👍