Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vim-scripts/PDV--phpDocumentor-for-Vim
Provides really comfortable generation of phpDocumentor doc blocks for PHP4 & 5.
https://github.com/vim-scripts/PDV--phpDocumentor-for-Vim
Last synced: about 2 months ago
JSON representation
Provides really comfortable generation of phpDocumentor doc blocks for PHP4 & 5.
- Host: GitHub
- URL: https://github.com/vim-scripts/PDV--phpDocumentor-for-Vim
- Owner: vim-scripts
- Created: 2010-10-18T22:42:41.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T04:17:36.000Z (about 5 years ago)
- Last Synced: 2024-06-28T08:39:09.160Z (3 months ago)
- Language: VimL
- Homepage: http://www.vim.org/scripts/script.php?script_id=1355
- Size: 145 KB
- Stars: 25
- Watchers: 3
- Forks: 24
- Open Issues: 3
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1355
PDV (phpDocumentor for Vim)
========================Version: 1.0.0
Copyright 2005 by Tobias Schlitt
Inspired by phpDoc script for Vim by Vidyut Luther (http://www.phpcult.com/).Provided under the GPL (http://www.gnu.org/copyleft/gpl.html).
This script provides functions to generate phpDocumentor conform
documentation blocks for your PHP code. The script currently
documents:- Classes
- Methods/Functions
- AttributesAll of those supporting all PHP 4 and 5 syntax elements.
Beside that it allows you to define default values for phpDocumentor tags
like @version (I use $id$ here), @author, @license and so on.For function/method parameters and attributes, the script tries to guess the
type as good as possible from PHP5 type hints or default values (array, bool,
int, string...).You can use this script by mapping the function PhpDoc() to any
key combination. Hit this on the line where the element to document
resides and the doc block will be created directly above that line.Changelog
=========Version 1.0.0
-------------------* Created the initial version of this script while playing around with VIM
scripting the first time and trying to fix Vidyut's solution, which
resulted in a complete rewrite.