marlonfan / coc-phpls

🐭 php language server for coc.nvim
MIT License
212 stars 16 forks source link

PHPDocBlock Intelephense always Generate the last Function on the Class #72

Open benyaminl opened 4 years ago

benyaminl commented 4 years ago

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):

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

ilkermutlu commented 2 years ago

Can confirm exactly the same happening for me.

OS: macOS Monterey 12.3 Editor: vim 8.2.4600 arm64