idea-cloudformation
idea-cloudformation copied to clipboard
Provide Smart Completion for Ref values
Inside the value for the "Ref" intrinsic function, smart completion (Ctrl-Shift-Space) could be provided.
It would match expected property type with available resource types.
just tested this and it works ...
Sébastien, you probably intended to refer to https://github.com/shalupov/idea-cloudformation/issues/22
No, I do refer to this one :-)

The smart completion key works, but the provided variants are not "smart" yet. In most (all?) IDEA languages smart completion will only suggest things that are definitely assignable/compatible at the place in question.
At the moment, the plugin provides all resource and parameter ids as smart completion variants. "Real" smart completion would only (for example) suggest resources of type "AWS::EC2::NetworkAcl" when smart completing reference for the "NetworkAclId" property of a "AWS::EC2::SubnetNetworkAclAssociation".
OK - got it - thanks ! Not working for me then :-)