Watch **/*.tf
and **/*.tfvars
files for the language server
#1068
Labels
enhancement
New feature or request
**/*.tf
and **/*.tfvars
files for the language server
#1068
Complementary to hashicorp/terraform-ls#15
Background
The extension used to send updates about
**/*.tf
between v2.0.0 and v2.2.0d6396b5#diff-04bba6a35cad1c794cbbe677678a51de13441b7a6ee8592b7b50be1f05c6f626L124
but for various reasons - esp. because the server wasn't ready - and still isn't - for handling these updates - it was removed.
Currently the extension doesn't send any updates about any files (except for the open files) to the server. The server may request globs to watch via relevant LSP capability, as described in hashicorp/terraform-ls#867
It would however make sense for the extension to just always send updates for the files that it generally claims to support, i.e.
**/*.tf
and**/*.tfvars
.https://github.com/microsoft/vscode-extension-samples/blob/2556c82cb333cf65d372bd01ac30c35ea1898a0e/lsp-sample/client/src/extension.ts#L42-L45
Proposal
**/*.tf
and**/*.tfvars
) invscode-terraform/src/clientHandler.ts
Lines 79 to 88 in bc90108
The text was updated successfully, but these errors were encountered: