@see annotation is not renamed on refactor
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Reproduce it first: write a Lua file with a ---@class definition and a ---@see annotation pointing at that class, then try renaming the class from both the definition and the ---@see reference. The issue does not name the source files, so you will need to locate the rename handling yourself. Done means renaming the class also updates the ---@see reference, and renaming from the ---@see reference no longer returns "The Element can't be renamed".
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Create a
---@seeannotation to a class - Try to rename the class
- The
---@seeannotation is not updated
Additional Notes
https://github.com/user-attachments/assets/df1ce125-e9ba-4480-8047-66f43400e305
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
- Linguagem predominante
- Lua
- Estrelas
- 4.4k
- Forks
- 446
- Merge médio
- 8d 9h
- PRs com merge (30d)
- 1
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de LuaLS/lua-language-server
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
LuaLS/lua-language-server#1776 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
LuaLS/lua-language-server#3469 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
LuaLS/lua-language-server#3468 ·
-
泛型for迭代器的类型推导漏掉了带__call的类Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 65/100
LuaLS/lua-language-server#3463 · 5 comentários ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
LuaLS/lua-language-server#3461 ·
Todas as issues de LuaLS/lua-language-server
Issues semelhantes
-
severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
luainkernel/lunatik#1853 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 3 dias
-
[Operation Enhancement]: .editorconfigと.gitattributesでdictionaryとLuaファイルの編集・改行設定を統一するTalvez já em andamento @5kdn assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 80/100
5kdn/DCS-Translation-Japanese#163 ·
Mantenedores costumam responder em até 1 dia
-
[Bug Report]Abertaarea/Cubelet area/CubeNet bug needs-triage needs:compliance
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
TencentCloud/CubeSandbox#1917 · 1 comentário ·
Mantenedores costumam responder em até 1 dia