lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

目录重命名, 移动目录, 在自动修改req路径时, 新路径会出现多余字符, 或者不修改

Open ChNopx opened this issue 1 year ago • 0 comments

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Other

Expected Behaviour

原目录 根目录 -- 子目录 -- 文件名

新目录 -- 子目录 -- 文件名

原引用 include '原目录.子目录.文件名'

重命名后应该修改为 include '新目录.子目录.文件名'

实际修改结果 include '新目录.子目录F.文件名'

问题是, 子目录名称总会带个随机小尾巴 而且有些文件的引用并没有修改

Actual Behaviour

上面写完了

Reproduction steps

上面写完了

Additional Notes

No response

Log File

No response

ChNopx avatar Apr 03 '24 03:04 ChNopx