Open dbanck opened 2 years ago
After internal discussion we decided to put this on hold for now.
One concern was that we would not receive watch events for these modules outside the workspace and we aren't able to watch them until the (gopls) LSP structs bring the following: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#relativePattern
Background
Account for module calls pointing outside of the workspace which cannot be indexed via the walker and for any outdated installed modules.
Proposal
Declared
module calls in indexer and index any modules which are unknownNotes
Ensure this is reflected in all contexts - walker, watch events, didOpen/didChange, didChangeWorkspaceFolders.