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

Phpls premium features are not working as expected

Open mohammedabdoh opened this issue 4 years ago • 5 comments

Describe the bug When I try to find all implementations of interface/abstract class within a project that was just indexed everything works. If I close neovim and open it again nothing works until I run the command intelephense.index.workspace. I made sure that I have no global intelephense module installed on my machine to avoid any conflicts. The current up to date version of intelephense is 1.5.4 while coc-phpls is using 1.5.2 (which I assume is installed with the extension as a dependency) so only the dependency that comes with the extension is available. I also tried it while there is a global module installed and I have the same issue. I have a premium subscription to make sure every premium feature is available. Note that the premium subscription works when using visual studio code.

To Reproduce Steps to reproduce the behavior:

  1. Open a php project for indexing for the first time.
  2. Try to find all implementations of any interface or abstract class you can see that you will get a list of all of them.
  3. Close nvim.
  4. Open nvim again and open any php interface again then try to find implementations again you will receive a message [coc.nvim] implementation not found

Expected behavior To be able to see all the implementations and the premium features working as expected

Desktop (please complete the following information):

  • OS: MacOS 10.15.7
  • Coc.nvim (the latest version)
  • Coc-phpls extension (the latest version)

Additional context My CocInfo

[Info  - 11:48:19 AM] Initialising intelephense 1.5.2
[Info  - 11:48:19 AM] Reading state from /Users/fox/.config/coc/extensions/coc-phpls-data/56b54f92.
[Info  - 11:48:20 AM] Initialised in 1051 ms

mohammedabdoh avatar Dec 31 '20 10:12 mohammedabdoh

I'm having the same issue. Managed to get it working by placing license key in the {os.homedir()}/intelephense/licence.txt

ivaaaan avatar Jan 05 '21 11:01 ivaaaan

Thank you so much you saved me.

mohammedabdoh avatar Jan 05 '21 20:01 mohammedabdoh

I still do have this issue. I use VIM 8.2 and still cannot see any implemantation even after creating the file mentioned here.

thanks.

tomaspavlatka avatar Mar 21 '21 21:03 tomaspavlatka

Thank you for all the work on this plugin. There are 3 tickets regarding this issues; this one plus this and this.

mzagol avatar Jul 05 '21 20:07 mzagol

Still have this issue also, code actions are not available and using :call CocAction('jumpImplementation') yelds [coc.nvim] implementation not found.

reisnobre avatar Jul 26 '21 01:07 reisnobre

No respond from the author on this issue.

mohammedabdoh avatar Sep 02 '22 06:09 mohammedabdoh