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

[lsp] rename namespace - client does not support file renames #1

Open
practicalli-johnny opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@practicalli-johnny
Copy link
Contributor

practicalli-johnny commented Apr 15, 2024

Renaming of an ns namespace doest not seem to be supported

Renaming a namespace or a filename does not allow LSP to update related occurrances.

Investigate if this is a limitation with the Neovim client, lsp related plugins or configuration.

Error on prepareRename: Can't rename - client does not support file renames.

The Neovim Error suggests that Neovim client does not support prepareRename, even with https://github.com/antosha417/nvim-lsp-file-operations plugin

LSP spec
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareRename

NOTE: I dont think renaming a namespace has worked since I've been using Neovim

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

1 participant