forked from shawncplus/phpcomplete.vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Improved PHP omnicompletion
EvanDotPro/phpcomplete.vim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Default phpcomplete.vim does not support in-file checking of $var = new Class; so if you don't have a tags file with the variable in it already you have to hack around it by placing the comment `/* @var $yourvar YourClass */` above the line which is really kludgy. This patch allows for in-file checking so you don't need the comment. $instance = new Class; ... $instance->Blah(); // <-- complete without comment It also allows support for singleton instantiations: $instance = Class::getInstance(); $instance->completeMe(); // sweet completion Other features: * Correct restriction of static or standard methods based on context ( show only static methods with :: and only standard with ->) * Real support for self:: and $this-> with the aforementioned context restriction * Constant variable completion (not just define(VARIABLE, 1) but const VARIABLE = 1)
About
Improved PHP omnicompletion
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Vim Script 100.0%