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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
theasker's avatar
11
theasker
asked 4 years ago
Wingware Support's avatar
4.3k
Wingware Support
updated 4 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.3k
Wingware Support
answered 4 years ago
link

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)