php-getter-setter.vim icon indicating copy to clipboard operation
php-getter-setter.vim copied to clipboard

a vim plugin to generate php getters and setters from class properties -- http://www.vim.org/scripts/script.php?script_id=1707

Results 7 php-getter-setter.vim issues
Sort by recently updated
recently updated
newest added

If there is any content below the vavariable, getters and setters will be generated above the selected block or line and not below at the end of the class even...

added the opportunity to use type hinting in the templates.

When using any Insert* command, it does nothing. I am using neovim 0.4.3 with vim-plug.

I create this patch for add return $this on setter, call me if you want the diff file. diff --git a/ftplugin/php_getset.vim b/ftplugin/php_getset.vim index e56e5d0..40ad240 100644 --- a/ftplugin/php_getset.vim +++ b/ftplugin/php_getset.vim @@...

Hi, After generating a getter or a setter, an empty line with trailing whitespaces appears: ``` php class foo { private $bar; .... /** * Get bar. * * @return...

As PHPDoc is the defacto standard, most properties will look like: ``` /** * @var double */ protected $pasteName; ``` So it should be possible to detect the `@var` and...

Hi, There's a conflict when using both these plugins.