tobyS / pdv

PHP Documentor for VIM - Generates PHP docblocks
161 stars 32 forks source link

phpdoc for file #4

Closed punknroll closed 8 years ago

punknroll commented 11 years ago

Hi, how can I add file documentation? any hints on this? thanx

rafi commented 10 years ago

To broaden this idea, it'll be great if pdv can render a template for new files.

Example
  1. User creates a new file, e.g. :new foobar.php
  2. pdv fills new window with template:
<?php
/**
 * This file is part of {{project}}.
 *
 * (c) 2010-2014 {{company}}
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
tobyS commented 10 years ago

There is the skeletons plugin, which generates a snippet on file creation. AFAIR there is no integration for vmustache, yet, though.

beinnova commented 8 years ago

I have resolved with solution described on this post