google / bamboo-soy

An intellij plugin supporting Closure Template language (Soy)
Apache License 2.0
48 stars 27 forks source link

Ternary operator broken by auto-formatter #153

Closed albertsteckermeier closed 6 years ago

albertsteckermeier commented 6 years ago

The plugin formats

{let $configObject: $specificConfigOption ? ['myOption': $specificConfigOption]: [] /} to {let $configObject: $specificConfigOption?['myOption': $specificConfigOption]: [] /}

which the Soy compiler can't process due to the missing spaces around ?.

thso commented 6 years ago

Thanks for the bug report. We'll look into getting this fixed for the next release.