Comments (10)
My extension seems to have been updated and experiencing the same issue. Here is my config, but I should just be able to use the default. Terraform should be in $PATH
for VS Code, but I explicitly set it anyway. My files are correctly marked as Terraform
and not HCL
.
"terraform.format": {
"enable": true,
"formatOnSave": true
},
"terraform.path": "/usr/local/bin/terraform",
VSCode version 1.22.2, Terraform plugin version 1.0.3
from vscode-terraform.
No, nothing on any of the output selectors including Extensions and Extension Host. No Terraform output in the drop-down.
from vscode-terraform.
I'm experiencing the exact same issue as @danieladams456. Terraform.format is configured properly with terraform.path pointing directly to my terraform executable and no format on save as well as no output as well as no Terraform (Output) selector.
from vscode-terraform.
@mauve I am on version 1.0.4
now and format on save works. Since Terraform was in the path and I wasn't changing the formatting defaults, I was able to delete my extension config. I think we can probably close the issue now.
from vscode-terraform.
I'm seeing the same...after updating my preferences, setting the value to true, there's no format on save.
Visual Studio Code version 1.22.2
Commit 3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
Date 2018-04-12T16:38:45.278Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
VS Terraform plug-in v1.02
from vscode-terraform.
what does terraform.path
say in the configuration and where is terraform on your system?
from vscode-terraform.
I've also seen this a few days back, only to then notice that my Terraform files were set to the HCL language mode in the bottom bar, instead of Terraform. Once I switched them to Terraform it started to work as expected.
I hope this helps.
from vscode-terraform.
Very good callout, thank you. I will give that a check and report back.
from vscode-terraform.
from vscode-terraform.
from vscode-terraform.
Related Issues (20)
- Extension report problems in `~/.vscode-server/data/User/History/` HOT 3
- "no declaration found" for heteregeneous list HOT 2
- TFC Login Test
- Terraform Auto complete Not working HOT 8
- vscode always complains `This module is not yet installed` error in submodules HOT 1
- Extension shows a deprecation for an attribute but not the reason HOT 2
- Terraform intellisense is not showing when using module with github as the source HOT 2
- Completions for variables include the var. (unless you don't type the dot) HOT 3
- Syntax Highlighting Breaks If a Function is Split Over Multiple Lines When in String Interpolation HOT 1
- "tags" not expected in `aws_budgets_budget` HOT 3
- Error in transit_encryption_mode attribute on AWS aws_elasticache_replication_group Resource HOT 3
- "Unexpected attribute: An attribute named "private_endpoint_network_policies" is not expected here" HOT 3
- Secret_environment_variables in the service_config block of google_cloudfunctions2_function does not accept array HOT 2
- Syntax validation throwing incorrect errors for Terraform Test files (`*.tftest.hcl`) HOT 7
- Heredoc causes text cursor to freeze HOT 2
- Terraform Linter reports error with WAFv2 rule_action_override but matches documentation HOT 6
- Intellisense completion for variable identifier replaces var.name with var.var.name
- Syntax highlighting broken with `SELECT` statements HOT 2
- Autocomplete stops working from one file to another in the same module HOT 8
- Unexpected attribute error for terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-terraform.