You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An enum was defined using the ---@enum annotation, and then LuaLS warned "duplicate-doc-alias". Changing the enum name had no effect. After moving the file containing the enum definition to a different VS Code workspace, the issue no longer occurred.
Reproduction steps
无法复现,该问题只在一个特定的工作区中出现。
Additional Notes
Unable to reproduce. This issue only occurs in one specific workspace.
My judgment is that this problem is caused by you changing the case of this file. On Windows, just changing the case of spelling in vscode will not really take effect, and it may cause vscode to think that there are two files with similar names but different cases.
Activity
CppCXY commentedon Jul 1, 2026
我判断是, 你修改了这个文件的大小写导致的这个问题, 在windows上, 在vscode中仅仅修改拼写的大小写并不会真的生效, 而且可能引起vscode认为存在两个名称近似仅仅大小写不同的两个文件
Issues-translate-bot commentedon Jul 1, 2026
My judgment is that this problem is caused by you changing the case of this file. On Windows, just changing the case of spelling in vscode will not really take effect, and it may cause vscode to think that there are two files with similar names but different cases.