yaegassy / coc-intelephense

intelephense (PHP language server) extension for coc.nvim. intelephense’s various LSP features and this extension's additional features are available.
https://www.npmjs.com/package/@yaegassy/coc-intelephense
MIT License
98 stars 4 forks source link

feat: cancellation support for progress notification #31

Closed yaegassy closed 2 years ago

yaegassy commented 2 years ago

VSCode like notifications are now supported in coc.nvim. https://github.com/neoclide/coc.nvim/discussions/3813

coc-intelephense uses progress notification for language server indexing. Added feature when clicking "Cancel".

The mouse option is required to cancel. In init.vim, add set mouse=n. Also, this feature is only supported by neovim.


DEMO (mp4):

https://user-images.githubusercontent.com/188642/168406302-3289b6de-19a7-4ed3-a7a8-b995c09492dd.mp4