Skip to content

Return more descriptive error message when renaming fails #4866

@GearsDatapacks

Description

@GearsDatapacks

Currently, when the user tries to rename something in a way that isn't supported, such as trying to rename a constructor to a snake_case name, the language server currently responds with a generic "Rename failed" error message, which doesn't tell the user anything about why renaming failed.
The LSP specification allows us to specify a more detailed error message, which I believe we should do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions encouraged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions