Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Blumster opened this issue Oct 3, 2022 · 1 comment
Closed

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

Blumster opened this issue Oct 3, 2022 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Milestone

Comments

@Blumster
Copy link

Blumster commented Oct 3, 2022

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

@sumneko sumneko added the bug Something isn't working label Oct 9, 2022
@sumneko sumneko added this to the 3.6.0 milestone Oct 9, 2022
@sumneko
Copy link
Collaborator

sumneko commented Oct 11, 2022

Should be fixed with #1177

@sumneko sumneko closed this as completed Oct 11, 2022
@sumneko sumneko added the duplicate This issue or pull request already exists label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants