Skip to main content

Terraform syntax highlighting?

any way you guys could add terraform syntax highlighting? most of my work is IAC generating tf files (and hcl) and it would be awesome to have.

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Aquamarine Butter

    I guess this is just response dependent sometimes the models put it in a ‘text’ syntax highlighting code block and sometimes they put it in an hcl one which has highlighting. This may not really be fixable I’m not sure

    • Mark Florkowski

      Team

      You can add to your custom instructions to try to get the AI to always use “hcl” as the language tag. Might be able to add more associations, but if it is just doing text/no tag, we would not be able to “guess” the right one)