You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/hashicorp/terraform-ls/compare/f-walker-refactoring represents a very rough idea of how this could be implemented, but it still needs some further thinking about watcher-related indexing logic, which is likely to change as part of #867 - specifically in the sense that walker should no longer need to be explicitly adding each walked path to the watcher as LSP-based watching supports wildcards.
With that in mind I'm putting this on hold until #790 is finally reviewed & merged and revisit with #867 in mind.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Currently the module walker/indexer has many dependencies:
terraform-ls/internal/terraform/module/walker.go
Lines 63 to 74 in 40a6ae8
This makes it harder to change anything that involves the walker and harder to test.
We can extract the logic which happens when a module is found as
WalkFunc
and have that function alone depend on Job Scheduler etc.terraform-ls/internal/terraform/module/walker.go
Lines 199 to 200 in 40a6ae8
The text was updated successfully, but these errors were encountered: