Skip to content

Language server freeze for couple of seconds with large template file #378

@drakeee

Description

@drakeee

Describe the bug
I have a large template Lua file with around thousands of functions in it. Unfortunately the language server can't keep up with the large file and it hangs up for couple of seconds.

To Reproduce
Steps to reproduce the behavior:

  1. Place the Lua file from the archive anywhere in your workspace native.zip
  2. Try to type some function: native.somefunctionamehere

Expected behavior
It shouldn't take ten seconds to search for the function

Environment (please complete the following information):

  • OS: Windows 10, 64 bit
  • Is WSL remote? No
  • Client: VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceRelated to the performance of the langauge server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions