phpDocumentor for VIM (PDV) is a project which resulted from my efforts to create a comfortable programming environment for PHP in the VIM editor. Since the server which hosted the SVN repository is to be switched off the next days, I finally moved development over to github.
In addition to that, I seized the chance to rename the project itself to VIP (VIM integration for PHP). The repository does not only contain the PDV script iself, but also a filetype plugin for PHP, some useful color schemes, a PHP skeleton file, settings for other (related?) programming languages and more.
To checkout the most recent version, just follow the instructions on github and don't forget to stack the project on Ohloh.
If you liked this blog post or learned something, please consider using flattr to contribute back: .
when do we finally see a VIM talk on a IPC or DPC? :)
Link to commentAfter having read the list of features, I am sure I'll certainly use this plugin. :)
Link to comment@dsp: Hehe, would love to give one, but did not think someone would accept it. ;) Will definitely hand one in for the next conferences. :)
Link to commentThanks! I haven't updated in a while, excited to see if i missed something.
Link to commentIt would be nice to configure (on/off) the remapping of the Tab character. I use snippetsEmu which is a very popular script (20K downloads on vim.org) and I am forced to comment that line because it conflicts with its snippets insertion and completion features.
Link to comment
Also there is the problem with Ubuntu (and Debian I think), as the `filetype on` command used to include ftplugin/php.vim also includes system-wide ftplugin which horribly set the comments environment variable to <!--...->. They are executed *after* the .vim/ftplugin ones, so you may want to add a:
set comments=sr:/*,mb:*,ex:*/
in an after/ftplugin script.
I have filed a bug however:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/522666
even if .vim would be moved right in the runtimepath setting, ftplugin/php.vim should contain a setting for comments.
Does this mean development is active again? I emailed you a while ago with bug fixes and never heard a response. Created a git repo with some of the fixes applied: http://github.com/hradtke/pdv
Link to comment
Herman,
yes, I hope to find time to work some more on PDV again. However, development was never really dead, I just did not release anything. There were constant improvements on the ftplugin, though.
I got some contributions over the past years, but did not manage to review / include them. I still have all the mails, but it would help, if you file your stuff on github again, so I can better track it.
Thanks in advance!
Glad to hear it. I will ditch my repo and fork yours with the fixes.
Link to commentAbout the #6 comment: the Ubuntu maintainers said in the related bug report that it's not a bug, because the vim runtimepath is ordered upstream so that .vim is sourced before /usr/share/vim and before .vim/after. So the .vim/ftplugin/php.vim is effectively overridden by system-wide settings (at least in Ubuntu), you may want to rename it to .vim/after/ftplugin/php.vim file. At least similar plugins like snippetsEmu use the after/ directory.
Link to comment
Ahmad Al Jayousi
Philadelphia University Jordan
http://www.philadelphia.edu.jo
E-mail: aaljayousi@philadelphia.edu.jo
It would be nice to configure (on/off) the remapping of the Tab character. I use snippetsEmu which is a very popular script (20K downloads on vim.org) and I am forced to comment that line because it conflicts with its snippets insertion and completion features.....
Link to commentForks are a natural part of open source. I love them and feel that there should be more of them because they promote innovation and ideas. You can see this when ever a developer borrows a PHP script but feels the need to tweak it. In many cases the new tweak version is more useful and becomes more popular than the original. This to me is the whole single point of FOSS.
Link to commentFields with bold names are mandatory.
PDV → VIP, now on github! - Blog - Open Source - schlitt.info
phpDocumentor for VIM (PDV) is a project which resulted from my efforts to create a comfortable programming environment for PHP in the VIM editor. Since the server which hosted the SVN repository is to be switched off the next days, I finally moved development over to github.