@see annotation is not renamed on refactor
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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".
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Lua
- Stelle
- 4.4k
- Fork
- 446
- Merge medio
- 8g 9h
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LuaLS/lua-language-server
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
LuaLS/lua-language-server#1776 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
LuaLS/lua-language-server#3469 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
LuaLS/lua-language-server#3468 ·
-
泛型for迭代器的类型推导漏掉了带__call的类Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
LuaLS/lua-language-server#3463 · 5 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
LuaLS/lua-language-server#3461 ·
Tutte le issue di LuaLS/lua-language-server
Issue simili
-
severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
luainkernel/lunatik#1853 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 3 giorni
-
Crash in ReaderFooter:setTocMarkers when the footer is disabledForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[Operation Enhancement]: .editorconfigと.gitattributesでdictionaryとLuaファイルの編集・改行設定を統一するForse già presa @5kdn l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
5kdn/DCS-Translation-Japanese#163 ·
I maintainer di solito rispondono entro 1 giorno