VladRassokhin / intellij-hcl

HCL language support for IntelliJ platform based IDEs
Apache License 2.0
244 stars 48 forks source link

[2nd generation] Support optional keyword and other terraform 1.3 language enhancements #397

Open mrlexor opened 1 year ago

mrlexor commented 1 year ago

Hello,

I've found out this closed issue regarding optional modifier. It's actually work, but not as expected.

Optional modifier has two arguments and if I use it only with as shown one, so linter shows that okay:

Screenshot 2022-10-18 at 14 53 53

However, when I add the second one, default argument, linter, seems, doesn't know about it:

Screenshot 2022-10-18 at 14 58 04

Can you take a look, please?

Here you may find information about default argument for the optional modifier.

Originally posted by @mrlexor in https://github.com/VladRassokhin/intellij-hcl/issues/338#issuecomment-1282204228