Vscode-terraform: Can't pin to earlier version of this extension

Created on 11 Jun 2020  ยท  6Comments  ยท  Source: hashicorp/vscode-terraform

I'm running Terraform 0.11.x and I can't pin the extension to an earlier version. The previous versions fail to load.

Most helpful comment

Workaround for now:

Remove the 2.0 version

Download the .vsix for 1.4.0 here - https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0

Install it into vscode manually

code --install-extension mauve.terraform-v1.4.0.vsix

All 6 comments

Maybe we should fork the repo and revert the changes back by creating a new extension.

I believe the upgrade was brutal and has broken a lot.

Workaround for now:

Remove the 2.0 version

Download the .vsix for 1.4.0 here - https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0

Install it into vscode manually

code --install-extension mauve.terraform-v1.4.0.vsix

This appears to be an upstream bug in VS Code: https://github.com/microsoft/vscode/issues/99699#issuecomment-643379024

Going to merge this in to #385 for tracking.

Workaround for now:

Remove the 2.0 version

Download the .vsix for 1.4.0 here - https://github.com/hashicorp/vscode-terraform/releases/tag/v1.4.0

Install it into vscode manually

code --install-extension mauve.terraform-v1.4.0.vsix

Hi, thanks for the work-around, I'm also one of those that's affected by this breaking change.

Do you perhaps know how I would install this inside a Remote Container?

@ciaranevans I have not tried this with a Remote Container, but in WSL the extensions pane shows multiple sections like this (see below) so you can install it in different sides of the runtime, do you get the same in Remote Containers? I'll have to try to spin one up, but haven't had an opportunity yet.

image

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

renanaraujo picture renanaraujo  ยท  5Comments

visokoo picture visokoo  ยท  3Comments

meysholdt picture meysholdt  ยท  5Comments

avinashkavi447 picture avinashkavi447  ยท  7Comments

jacobisaliveandwell picture jacobisaliveandwell  ยท  3Comments