Skip to content

WorkspaceUpdate and diagnostic changes #2948

@annaa-ka

Description

@annaa-ka

How are you using the lua-language-server?

Other

Which OS are you using?

Linux

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

image

Lua language server sends textDocument/publishDiagnostics with error but at the same time gives description

This error happens only when sending workspace/didChangeConfiguration every two seconds with new annotations for lua, working without frequent configuration changes works ok

  1. After some time this notification disappears, does server support frequent configuration changes?
  2. Is there any sync between updating workspace.library and diagnostic checks?
  3. Are there any ways how debug where the problem comes from?

Actual Behaviour

No error with undefined global appear

Reproduction steps

Actually, we wrote our own extension for VScode and use language server binary to run in separate subprocess

Additional Notes

No response

Log File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions