Skip to content

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

@practicalli-johnny

Description

@practicalli-johnny

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions