shalupov / idea-cloudformation

AWS CloudFormation plugin for IntelliJ-based IDEs (IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio, DataGrip, CLion)
https://teamcity.jetbrains.com/viewType.html?buildTypeId=IdeaAwsCloudFormation_Master_Build&guest=1
Apache License 2.0
136 stars 27 forks source link

Feature Request: Support (or ignore) Jinja2 syntax #99

Open thorstenhuhn opened 7 years ago

thorstenhuhn commented 7 years ago

I usually inject jinja2 statements into my cloudformation templates to add control flow statements or loops and render the working template later. Unfortunately this great plugin stops parsing at the first jinja expression and shows the whole template as invalid. Is it possible to support this or to ignore jinja statements like comments?

danieljimenez commented 7 years ago

+1, I've been thinking about this as well.

danieljimenez commented 7 years ago

Could it work similar to how ruby ERB template files work?