Giter Club home page Giter Club logo

Comments (10)

danieladams456 avatar danieladams456 commented on July 26, 2024 3

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.

danieladams456 avatar danieladams456 commented on July 26, 2024 2

No, nothing on any of the output selectors including Extensions and Extension Host. No Terraform output in the drop-down.

from vscode-terraform.

luke-chisholm6 avatar luke-chisholm6 commented on July 26, 2024 1

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.

danieladams456 avatar danieladams456 commented on July 26, 2024 1

@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.

jbruett avatar jbruett commented on July 26, 2024

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.

mauve avatar mauve commented on July 26, 2024

what does terraform.path say in the configuration and where is terraform on your system?

from vscode-terraform.

cristim avatar cristim commented on July 26, 2024

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.

eegilbert avatar eegilbert commented on July 26, 2024

Very good callout, thank you. I will give that a check and report back.

from vscode-terraform.

mauve avatar mauve commented on July 26, 2024

from vscode-terraform.

mauve avatar mauve commented on July 26, 2024

from vscode-terraform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.