Skip to content

Builtin types do not work when .vscode folder is a symlink #1611

@Blumster

Description

@Blumster

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?

Diagnostics/Syntax Checking

Expected Behaviour

The builtin types (string, number, etc...) are not highlighted as unknown globals.

Actual Behaviour

The builtin types are highlighted as unknown globals.

kép
kép
kép
All modified settings:
kép

kép

Reproduction steps

  1. Make sure the .vscode folder is a symlink to a folder on another drive
  2. Run vscode and observe the issue

Additional Notes

I had the .vscode folder as a symlink on another SSD and the builtin types weren't working. As soon as I moved the .vscode folder back to the user folder, it started working properly.

kép
kép
kép
kép

Log File

lua_langserver.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions