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
When the language server starts, we walk the whole workspace, checking each folder we encounter.
Instead of scheduling all jobs as soon as we encounter a directory, we could check if the directory contains any files relevant to the language server (.tf, .tf.json, .tfvars, .tfvars.json, …) and take a note of if by scheduling a discovery job. In the new discovery job, we create the necessary state entities and can decide if it makes sense to schedule further jobs. Or create small state entries (just Path) during walking and do everything else on open.
The text was updated successfully, but these errors were encountered:
When the language server starts, we walk the whole workspace, checking each folder we encounter.
Instead of scheduling all jobs as soon as we encounter a directory, we could check if the directory contains any files relevant to the language server (
.tf
,.tf.json
,.tfvars
,.tfvars.json
, …) and take a note of if by scheduling a discovery job. In the new discovery job, we create the necessary state entities and can decide if it makes sense to schedule further jobs. Or create small state entries (justPath
) during walking and do everything else on open.The text was updated successfully, but these errors were encountered: