Terraform language support in Atom

1,071 views
Skip to first unread message

Kyle Jones

unread,
Nov 3, 2014, 3:17:45 PM11/3/14
to terrafo...@googlegroups.com
If any body is interested, I took the time to create a Terraform package for Github's Atom editor.  All it does is add some syntax highlighting.

I'm not very well versed in the world of writing textmate style language bundles, but it works well enough for me and I am more than happy to make changes / add features where needed.

Hope someone likes it!

Kyle Jones

unread,
Nov 3, 2014, 3:18:29 PM11/3/14
to terrafo...@googlegroups.com
I guess I should add the link right?

Matthieu Fronton

unread,
Nov 4, 2014, 7:53:31 AM11/4/14
to terrafo...@googlegroups.com
I didn't know this editor do exist.
This syntax highlight is useful for me as it supports nested double quotes like these :

access_key = "${file(concat(path.root,"/../access_key"))}"

I've made a PR on github to fix a comment issue : https://github.com/GiantToast/language-terraform/pull/1

Thanks
Matthieu.

Seth Vargo

unread,
Nov 4, 2014, 11:01:43 AM11/4/14
to Matthieu Fronton, terrafo...@googlegroups.com
This looks great, and thank you for submitting it!

For other editors, HCL (Terraform's language) is highlighted really clearly when I use "javascript" (not json) as the language. I use SublimeText and I have configured sublime to read .hcl files as Javascript :)

Best,
Seth



--
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To post to this group, send email to terrafo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/efa5d0b2-bb1b-4905-b218-c5ccf2add95f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kyle Jones

unread,
Nov 4, 2014, 12:23:36 PM11/4/14
to terrafo...@googlegroups.com
Awesome! Glad you find it useful.  I just merged and published your pull request, should be live out there now.

- Kyle

Joaquin Menchaca

unread,
Jul 16, 2016, 11:34:24 PM7/16/16
to Terraform
Reply all
Reply to author
Forward
0 new messages