shawncplus / phpcomplete.vim

Improved PHP omnicompletion
http://www.vim.org/scripts/script.php?script_id=3171
595 stars 110 forks source link

fix completion for classes starting with "use" #34

Closed vol0da closed 10 years ago

vol0da commented 10 years ago

if you initiate a completion for a class starting with "use" (User) the completion is built as if it was for "use" statement.

class User
{
    public static function staticMethod()
    {

    }
}

User::

you will get a list of all classes instead of a list of all static methods

complex857 commented 10 years ago

Thank you for the patch (excuse me while i go to find my brown paper bag :-P)