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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to