Open awilkins opened 4 years ago
I ran into the same problem just now:
This seems to be most common when I'm refactoring things — as soon as I make half of a rename or restructure it crashes. Beyond handling that at all, I think there might be an argument for having an option to restart the language server manually or to wait before restarting after a failure — what happens now is that it crashes 5 times in a row within a second or two and then never restarts again.
@acdha will take a look
PR #74 should hopefully fix this.
vscode +
mauve.terraform
1.4.0 + tip ofterraform-lsp
as ofb05a499
Seems to be when a matching config is not found when resolving locals.
Using reasonably complex locals with
for x in setproduct(a, b, c)
construct.Have patched around by adding