VladRassokhin / intellij-hcl

HCL language support for IntelliJ platform based IDEs
Apache License 2.0
244 stars 48 forks source link

Support Copyright profile for Terraform configuration files #368

Open ikunduraci opened 2 years ago

ikunduraci commented 2 years ago

Prerequisites

Installation details

Non-Bundled Plugins: org.jetbrains.plugins.go (213.6461.48) net.seesharpsoft.intellij.plugins.csv (2.18.2) name.kropp.intellij.makefile (213.5744.224) ir.msdehghan.plugins.ansible (0.92) github.cweijan.test-theme (1.6) com.wakatime.intellij.plugin (13.1.8) com.markskelton.one-dark-theme (5.4.2) com.intellij.plugins.watcher (213.6461.19) org.intellij.plugins.hcl (0.7.14) org.jetbrains.kotlin (213-1.6.10-release-923-IJ5744.223) com.mallowigi (53.0.0) com.drinchev.projectlabel (1.0) com.chesterccw.excelreader (2.0.8) com.andrey4623.rainbowcsv (2.0.1) PlantUML integration (5.9.1) com.ypwang.plugin.go-linter (1.5.7) CMD Support (1.0.5) Batch Scripts Support (1.0.13) dev.vinayshetty.stateart (0.5) Pythonid (213.6461.79) izhangzhihao.rainbow.brackets (6.21) com.chrisrm.idea.MaterialThemeUI (6.12.2)

Kotlin: 213-1.6.10-release-923-IJ5744.223

 - [X] intellij-hcl plugin version (`Settings->Plugins`) `0.7.14`
 - [X] Terraform version (`terraform -v`) `Terraform v1.0.11 on darwin_arm64`

### Terraform Configuration Files
```hcl
terraform {
  required_providers {
    aws = {
      source = "hashicorp/aws"
    }
  }
}

Expected Behavior

A copyright profile should be available for Terraform configuration files, either automatically appended to the beginning of any .tf file, or generated using right-click -> Generate..

Actual Behavior

No copyright information is available or created.

image