coc-phpls icon indicating copy to clipboard operation
coc-phpls copied to clipboard

PHPDocBlock Intelephense always Generate the last Function on the Class

Open benyaminl opened this issue 4 years ago • 1 comments

Describe the bug Hello, I encounter the problem on Intelephense DocBlock autoComplete, it always generate the last function parameter doc block, not the current line docBlock that I need. This doesn't occur on VS Code with PHP Intelephense.

To Reproduce Steps to reproduce the behavior:

  1. Open a Class
  2. Go to the function line
  3. Type "/**" and let the auto complete shown
  4. See error

Expected behavior It should autocomplete on each line, based on the current line parameter.

Screenshots image image

on VS Code and working as expected image image

Desktop (please complete the following information):

  • OS: Windows 10 1909 64 bit
  • Browser Firefox 79
  • gVim 8.2.1369

Aditional This also affect other property of class even variable. Maybe if you have some spare time, please try to replicate this problem. Thank you

benyaminl avatar Aug 07 '20 03:08 benyaminl

Can confirm exactly the same happening for me.

OS: macOS Monterey 12.3 Editor: vim 8.2.4600 arm64

ilkermutlu avatar Apr 04 '22 13:04 ilkermutlu