First time here? Check out the FAQ!
1

HCL code highlighting

We use a lot of terraform in our projects. It would be great to be able to easily edit the configs in Wing alongside our python code.

Is it possible to already highlight HCL? If not, is there a way of adding more highlighting formats?

theasker's avatar
11
theasker
asked 2020-07-15 09:32:59 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-08-10 07:51:56 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You might try setting the file format to JSON. The description of HCL at https://github.com/hashicorp/hcl seems to indicate that it's a superset of JSON.

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-07-15 10:24:38 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer