x/tools/gopls: use RelativePatterns for file watching if RelativePatternSupport is available #64763
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
In order to fix problems with Windows paths, we should use RelativePatterns if they are supported:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#relativePattern
Because these patterns allow specifying a directory URI, they are a better solution for watching absolute directories, and don't suffer from windows drive casing issues.
See microsoft/vscode#104387 for more background.
The text was updated successfully, but these errors were encountered: