Skip to content
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

Formatting is not working #61

Closed
xocasdashdash opened this issue Mar 19, 2018 · 2 comments
Closed

Formatting is not working #61

xocasdashdash opened this issue Mar 19, 2018 · 2 comments

Comments

@xocasdashdash
Copy link

I have this settings on my user settings:

    "[terraform]": {
        "editor.formatOnSave": true
    },
    "editor.formatOnSave": true,

And this on my workspace settings:

 "files.associations": {
        "**/terraform/*/*.tf": "terraform",
        "*.tf": "terraform",
        "*.tfstate": "json"
    ,}

I cannot get format on save to work and i i choose the command directly on the palette:

There is no formatter for 'terraform'-files installed.

Terraform: Validate and Terraform:Lint give similar results

My configuration:

"code --version" output: 1.21.0
9a199d77c82fcb82f39c68bb33c614af01c111ba
x64

Extension version: 0.0.23

Thanks!

@xocasdashdash
Copy link
Author

Ok, so I haven't been able to get it to work but i've managed to locate an issue with lodash

I'm attaching the log with the error
extension.log

@xocasdashdash
Copy link
Author

It's related to this issue microsoft/vscode#43813 basic solution is to nuke the local extension folder and reinstall

@ghost ghost locked and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant