tmichel / sublime-terraform

Terraform plugin for Sublime Text 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform support for Sublime Text 3

Fork of Terraform.tmLanguage with some sweet improvements.

Features:

  • Syntax highlighting for .tf and .tfvars files.
  • Format on save using terraform fmt (only available in version >= 0.6.15)
  • Code completion for resources and data sources
  • Support bat
  • Snippets

Installation

Using Package Control

  1. Having Package Control installed
  2. Open the palette by pressing Ctrl+Shift+P (Win, Linux) or Cmd+Shift+P (OS X).
  3. Select "Package Control: Add Repository"
  4. Enter https://github.com/tmichel/sublime-terraform
  5. Open command palette again
  6. Select "Package Control: Install Package"
  7. Select "sublime-terraform"

Manually

  1. Open the Sublime Text Packages folder

    • OS X: ~/Library/Application Support/Sublime Text 3/Packages/
    • Windows: %APPDATA%/Sublime Text 3/Packages/
    • Linux (Ubuntu/Debian): ~/.config/sublime-text-3/Packages/
  2. Clone this repo:

     $ git clone https://github.com/tmichel/sublime-terraform
    

Configuration

The defaults are available in the Terraform.sublime-settings file.

Development

To update the completion files you will need Ruby 2.2+

  1. Install Ruby
  2. bundle install
  3. bundle exec rake completions

About

Terraform plugin for Sublime Text 3

License:Other


Languages

Language:Python 63.5%Language:Ruby 36.5%