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
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.
@aeschright I'm aware we just keep updating without letting the user pin the LS to any version - so in the "happy path" this shouldn't cause problem with adoption once we upgrade most people to the version which has JSON output. But does the VSCode extension also check --version for custom installations?
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Feb 28, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 introducedterraform version -json
: hashicorp/terraform#25252The text was updated successfully, but these errors were encountered: