Closed shadowwa closed 1 year ago
Thanks for the issue report. I will make the adjustment.
Adjustments have been completed. A new version has already been published to npm.
@shadowwa Some features added by coc-intelephense were found to work based on indexing completion events. Therefore, we have reverted to the original code.
We will find time to adjust it later.
The re-adjustment is complete. It has been published on npm. We will close this issue now.
Thanks!
I'm used to work on php project with coc-phpls extension and, after discovering coc-intelephense, tried to switch on this extension. I noticed a different behaviour concerning the indexing:
With coc-phpls extension, when launching vim in a projet for the first time it take a long time for intelephense to index every file but afterward when closing and launching again vim, intelephense only reindex files with a timestamp more recent than then cached file. But when using coc-intelephense, each time I launch vim on a project, every files got scanned like if the cached index was not used.
here are the output of :CocCommand workspace.showOutput :
vim with coc-phpls launch on a project for the first time or with coc-phpls-data deleted (indexed in 7s)
vim with coc-phpls launch on the same project for the second time without modifying any file (indexed in 753ms)
vim with coc-phpls launch on the same project for the second time after changing the timestamp of one php file in the project (indexed in 0s)
vim with coc-intelephense launch on a project for the first time or with @yaegassy/coc-intelephense-data deleted (indexed in 8s)
vim with coc-intelephense launch on the same project for the second time without modifying any file or changing timestamp of only one php file (indexed in 7s)