You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "lkishalmi (via GitHub)" <gi...@apache.org> on 2023/04/15 02:06:38 UTC

[GitHub] [netbeans] lkishalmi commented on pull request #5612: Initial HCL Support

lkishalmi commented on PR #5612:
URL: https://github.com/apache/netbeans/pull/5612#issuecomment-1509467325

   Well, this one is far from being complete. I even question some of my design decisions, though the base HCL lexer was as close to the (specs)[https://github.com/hashicorp/hcl/blob/main/hclsyntax/spec.md]  as I could get. 
   
   I'm not so sure that I'd keep the TerraformLexer, most probably it would be better to have parser adjusted highlight for different HCL flavors, but till I get there it is how it is.
   
   The AST classes are also some very early implementations.
   
   Anyway, the implementation works providing syntax highlight and folding for tfvars and tf files:
   ![image](https://user-images.githubusercontent.com/1381701/232177996-8a140e97-1860-49a6-b2b0-921e89377d96.png)
   
   It also adds code templates for Terraform files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists