-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing works after update to 2.x #386
Comments
To install working version: #381 (comment) |
Same here, very frustrating |
.tf file formatting also busted. |
I share your frustration. I had to install 1.4 with the .vsix and am still working with 0.11 syntax. At least that way you get some more advanced autocomplete, and even supports multiple configurations in sub-directories (which last I heard has no plans for support in 2.0). As long as you open a single, initialized configuration, you get the listed features, which are only:
But even some of these are kinda broken. |
Well if that is true, I hope some one will fork 1.4 and continue from there.
1.4 work wonders for 0.12
2.x is huge disappointment in current state.
…On Fri, 12 Jun 2020, 19:26 chriswacker, ***@***.***> wrote:
I share your frustration. I had to install 1.4 with the .vsix and am still
working with 0.11 syntax. At least that way you get some more advanced
autocomplete, and even supports multiple configurations in sub-directories
(which last I heard has no plans for support in 2.0).
As long as you open a single, initialized configuration, you get the
listed features, which are only:
- Manages installation and updates of the Terraform Language Server
(terraform-ls), exposing its features:
- Initialized provider completion (resource names, data source
names, attribute names)
- Includes syntax highlighting for .tf and .tfvars files (and .hcl) --
including all syntax changes new to Terraform 0.12
- Closes braces and quotes
- Includes for_each and variable syntax shortcuts (fore, vare, varm)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#386 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE53IY5EH3GTOLJR6MR4TETRWJQMJANCNFSM4N4GUEPA>
.
|
I have a similar setup as the OP, this version completely breaks and is unusable. |
Auto formatting doesn't work anymore... "There is no formatter for 'terraform' files installed." |
No formating, no linting, no code suggestions. |
Ran into the same problem...workaround:
All the formatting is back & everything is happy again. |
Here are the canonical tracking issues for things raised in this thread:
Until the VS Code issue is resolved, you can manually downgrade following these instructions: https://github.com/hashicorp/vscode-terraform/wiki/Install-a-Pre-transfer-Version |
Thank you so very much. Good to know I am not the only one losing my mind |
The formatting does not work at all, not only when there is a missing initialization. And what is about code suggestions? In which Ticket it will be solved? Sorry for asking, but i dont see that and i alredy asked in another issue where this is not been answered. |
@feeyu7 I think both of those issues are related to the different folder structure issue (hashicorp/terraform-ls#32). We are working to support multiple different root and nested module configurations (including allowing users to just specify the one they want to use). So even if initialized, the root module detection is not finding the appropriate directory so causing it problems. |
Thank you! |
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. |
It's kinda unusable now, and install another version returns 404
😞
Currently looks like extension doesn't support configuration with multiple environments configs with subfolders, and if I open "project" from env folder then all referenced modules don't work.
My setup (that was working until now):
The text was updated successfully, but these errors were encountered: