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

Rename Symbol not working with lsp-pyright #64

Open
CsBigDataHub opened this issue Nov 18, 2021 · 1 comment
Open

Rename Symbol not working with lsp-pyright #64

CsBigDataHub opened this issue Nov 18, 2021 · 1 comment

Comments

@CsBigDataHub
Copy link
Contributor

CsBigDataHub commented Nov 18, 2021

Not sure if this is a language server issue or lsp-pyright issue.

lsp-rename works with pylsp language server but not pyright

pyright version 1.1.187
lsp-mode 20211115.807

update - tested it with eglot aswell but I had the same issue there, eglot think the rename is successful but it was not.

@holocronweaver
Copy link

Are you trying to rename a file or a class/variable/function/etc. in Python code?

lsp-rename for Python code works for me, but I get an error "The connected server(s) doesn't support renaming" when calling lsp-rename on a file in dired.

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

2 participants