Skip to content

@see annotation is not renamed on refactor #3470

Description

@distantforest1

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Linux

What is the issue affecting?

Annotations

Expected Behaviour

I'm trying to rename a class through the ---@see annotation, but I am unable to. Also renaming through the original class doesn't update the ---@see class

Actual Behaviour

It just renames the original class, without updating any of the ---@see annotations. Also get a "The Element can't be renamed"

Reproduction steps

  1. Create a ---@see annotation to a class
  2. Try to rename the class
  3. The ---@see annotation is not updated

Additional Notes

Screencast_20261009_101914.webm

As can be seen, can't rename the class through the ---@see annotation, and renaming the class doesn't update the ---@see annotation

Log File

no response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions