Giter Site home page Giter Site logo

terraform-autocomplete's Introduction

Terraform Autocomplete

WARNING! This is very beta, things might not work as expected so don't rely solely on this extension as a complete reference to terraform parameters and exported arguments. PRs welcome!

This extension provides basic autocomplete on AWS resources. Scraping functionality can be found at https://github.com/erd0s/terraform-scrape.

Requirements

Doesn't include any highlighting functionality or linting, will go well with Mikael Olenfalk's Terraform extension (but not required).

What Works?

Hinting on aws resource types

Hinting on aws resource types

Hinting on resource arguments

Hinting on resource arguments

Hinting on variables ${<hints here>.<more hints>.<wow! hints!>}

Hinting on variables

Go to definition for AWS resources

Go to definition for AWS resources

What Doesn't Work?

  • Any other providers than AWS (could be added easily by adding to the aws-resources.ts file).
  • Exporting attributes across files.
  • Autocomplete on nested varibles, eg. aws_s3_bucket_notification.somename.queue.<can't complete past here>.

Known Issues

I found that having the advanced terraform snippets extension enabled at the same time as this obscured the hints in some instances.

Release Notes

See the changelog for more info.

terraform-autocomplete's People

Contributors

erd0s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

terraform-autocomplete's Issues

on osx, cmd key shortcut

This is more of a question than an issue; is there any way to disable the "cmd" shortcut that automatically opens the browser with the terraform documentation for the resource that the cursor is in in the editor?

Please disable auto-launching browser on "Cmd" key press

Hello,

When I enable your VS Code plugin, I have to avoid having my cursor on a code block, for if I press the command key on Macs, the web browser is launched to the Terraform documentation for that code block (e.g. "aws_instance").

I would very much appreciate it if you would give us a way to disable that functionality or give us the ability to change this behavior to a control-click or command+click action.

Thank you!
Zan

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.