Current Version
Use-cases
The VSCode extension and potentially other IDEs/extensions might want to manage the installation/upgrade of the language server. This would be little easier if they could read JSON output instead of line-based one.
Attempted Solutions
https://github.com/hashicorp/vscode-terraform/blob/1c882b35bb52e834214fad186c167f8ecaf04804/src/languageServerInstaller.ts#L32-L33
Proposal
Introduce terraform-ls version -json which has similar output to the recently introduced terraform version -json: hashicorp/terraform#25252
Current Version
Use-cases
The VSCode extension and potentially other IDEs/extensions might want to manage the installation/upgrade of the language server. This would be little easier if they could read JSON output instead of line-based one.
Attempted Solutions
https://github.com/hashicorp/vscode-terraform/blob/1c882b35bb52e834214fad186c167f8ecaf04804/src/languageServerInstaller.ts#L32-L33
Proposal
Introduce
terraform-ls version -jsonwhich has similar output to the recently introducedterraform version -json: hashicorp/terraform#25252