Skip to content

Commit

Permalink
Release 0.0.21 "Auto-completion and fixed format on save"
Browse files Browse the repository at this point in the history
  • Loading branch information
mauve committed Mar 9, 2018
1 parent 7f6303f commit 7d170c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
======

## What's New
- Format on save is back
- Auto completion support [@ranga543](https://github.com/ranga543)
- Format on save is back (closes #45, #47)
- Tools can now be installed in directories which have spaces [@xeres](https://github.com/xeres)

### Format on save

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@

## Features at a glance

- Autocompletion support
1. `Terraform` high level types `(variable, resource, data, module ...)` auto completion support.
2. `resource` types `(aws_dynamodb_table ...)` auto completion support for `aws, azure & google`
3. `resource | data | module | output | variable` property types auto completion support
4. `resource | data` 1-level nested block property types auto completion support
- Syntax highlightning for `.tf` and `.tfvars` files (and `.hcl`)
- Automatic formatting using `terraform fmt`
- Automatically closes braces and quotes
Expand All @@ -38,6 +43,11 @@

![Syntax Highlighting](https://raw.githubusercontent.com/mauve/vscode-terraform/master/images/screenshot.png)

## Auto-completion support

![Auto completion]
(https://raw.githubusercontent.com/mauve/vscode-terraform/master/images/terraform-auto-completion.gif)

## Formatting support

The plugin also ships a formatter integration which uses `terraform fmt` for formatting editors. Formatting can be disabled by setting `terraform.format.enable` to `false`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
}
},
"default": {
"enabled": false,
"enabled": true,

This comment has been minimized.

Copy link
@pdecat

pdecat Mar 9, 2018

This change freezes code on my system where terraform-index is not installed.

Work-around, start code with code --disable-extensions and add "terraform.indexing.enabled": false to settings.

This comment has been minimized.

Copy link
@mauve

mauve Mar 9, 2018

Author Contributor

I cannot reproduce this on neither windows nor on mac, can you please give some more details.

This comment has been minimized.

Copy link
@pdecat

pdecat Mar 9, 2018

It's on ubuntu 17.10 with code 1.21.0-1520420608.

As soon as I change terraform.indexing.enabled from false to true, code UI freezes.

This comment has been minimized.

Copy link
@pdecat

pdecat Mar 9, 2018

settings json - objenious - visual studio code_291

This comment has been minimized.

Copy link
@mauve

mauve via email Mar 9, 2018

Author Contributor
"indexerPath": "terraform-index",
"liveIndexing": true,
"delay": 500
Expand Down

0 comments on commit 7d170c6

Please sign in to comment.