-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Description
I am using the file watching API via the Language Server Protocol for the Go language server.
It seems that the API requires the drive letter in the GlobPattern to always be lowercased. We have noticed that the rootURI in the language client's initialize request always has a lowercase drive letter on Windows, but due to underlying tooling that preserves case, we do not always have lowercased drive letters in the server itself.
When the server sends a file watch request for a GlobPattern with an uppercased drive letter, we do not get any notifications. When we lowercase the drive letter, we do receive notifications.
Is this expected behavior? It seems like this should work no matter the case of the drive letter, especially since VS Code is itself changing the letters to be lowercase.