Skip to content

Class not recognized when not opening #3165

@DragoonKiller

Description

@DragoonKiller

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?

Type Checking

Expected Behaviour

AttachNode is recognized as global and class.

Actual Behaviour

20250424_011715.mp4

Reproduction steps

I've no idea, maybe this is relative to my project.

Additional Notes

vscode settings are set to

    "Lua.workspace.maxPreload": 500000,
    "Lua.workspace.preloadFileSize": 500000,

Log File

file_s%3A_Work_Projects_Project-H.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions