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

renaming feature doesn't save modifications

Open fabiosal opened this issue 5 years ago • 3 comments

Hi, when renaming a variable using nmap <leader>rn <Plug>(coc-rename)

after renaming the various buffers affected by the changes are not saved. I can't get evidence of the modification using git (status)

fabiosal avatar Dec 03 '19 17:12 fabiosal

Hi, thanks for the feedback.

I think this is due to the nature of vim. The temporary solution is to add a shortcut save all buffers.

And then I'm going to implement auto save renamed file buffers

marlonfan avatar Dec 09 '19 03:12 marlonfan

Hi @marlonfan, could you share your shortcut for this while the auto save isn't done? thanks

gabrielbidula avatar May 03 '21 09:05 gabrielbidula

Actually, we can just hit :wa on quickfix window to get all files saved.

gabrielbidula avatar May 03 '21 10:05 gabrielbidula