Patch Changes
-
#4617
e6c67f6Thanks @lazerg! - Bind thetextDocument/didClosehandler to the message processor. It was passed as an unbound method, so every file close failed withCannot read properties of undefined (reading '_isInitialized')and closed documents were never removed from the cache. -
#4618
7c7baaaThanks @lazerg! - Pass the project through when caching schema files, so their object types are indexed under the project that declared them. Previously the project was looked up again by file path, which could pick the first project in a multi-project config or fail withdoesn't match any project. -
#4619
ec1e270Thanks @lazerg! - Run only one cache initialization at a time while the server starts. File events that arrive before initialization finishes now wait for the in-flight run instead of starting another one, which replaced the cache several times and made go-to-definition unreliable until the last run finished.