-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce the amount of initial work when walking a workspace #1629
Comments
With this change, |
Closed via #1667 |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: