In the existing VSCode, subdirectories of imported packages are also scanned for usages. This would imply a change in AST loading; langd would have to load complete directory structures for imports, not just the imports themselves.
This is true for non-vendor'ed imports.
Example, if github.com/object88/immutable is imported, and VSCode searches for references to immutable.IntToStringHashmap, references in github.com/object88/test/hashmap are also revealed.
In the existing VSCode, subdirectories of imported packages are also scanned for usages. This would imply a change in AST loading; langd would have to load complete directory structures for imports, not just the imports themselves.
This is true for non-vendor'ed imports.
Example, if
github.com/object88/immutable
is imported, and VSCode searches for references toimmutable.IntToStringHashmap
, references ingithub.com/object88/test/hashmap
are also revealed.