phpcomplete-extended-symfony is an extension of phpcomplete-extended plugin which provides autocomplete suggestions for a valid Symfony2 projects. Completion types includes,
- Services.
- Parameters.
- View files.
- Entity repository menu entries.
Every menu entries are context aware so goto definition and open doc
functionality of phpcomplete-extended
works as expected.
If Unite.vim is installed the plugin provides following sources,
symfony/bundles
: Lists enabled bundle directories.symfony/services
: Lists public services. Default action is goto the service classsymfony/tags
: Lists DIC tags. Default action is list the services defined for the tagssymfony/entities
: Lists Doctrine entities.symfony/routes_by_name
: Lists routes by namesymfony/routes_by_pattern
: Lists routes by pattern
Same as phpcomplete-extended,
just add following lines in .vimrc
NeoBundle 'm2mdas/phpcomplete-extended-symfony'
Bundle 'm2mdas/phpcomplete-extended-symfony'
For pathogen clone the repository to your
.vim/bundle
directory.
Future plan is to implement almost all features of Symfony Eclipse plugin.