Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't rename in .vue files #58

Closed
trickstival opened this issue Nov 27, 2020 · 3 comments
Closed

Can't rename in .vue files #58

trickstival opened this issue Nov 27, 2020 · 3 comments

Comments

@trickstival
Copy link

I have this remap for coc-rename:

nmap <leader>rn <Plug>(coc-rename)

When I execute it in .js files, it can rename symbols, but when I try to do it in .vue files, I get this error:

[coc.nvim] Rename provider not found for current document

It's weird, cause I can rename symbols on vscode in .vue files, but for some reason can't get it working with coc

@chemzqm
Copy link
Member

chemzqm commented Nov 27, 2020

Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel

@chemzqm chemzqm closed this as completed Nov 27, 2020
@ferrwan
Copy link

ferrwan commented May 6, 2021

Just want to confirm, is the rename function really doesn't work because the vls hasn't supported it yet (vuejs/vetur#610) or there's a miss config?
I'm having problem on this renaming function in file .vue too, other things (jump definition, jump references, snippet, completion) are working nicely though.
image

@yaegassy
Copy link
Contributor

yaegassy commented May 7, 2021

@ferrwan "Rename" is not supported by vls itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants